RIsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget!/translations/zh_CN/hwmon/ina3221modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/zh_TW/hwmon/ina3221modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/it_IT/hwmon/ina3221modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ja_JP/hwmon/ina3221modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ko_KR/hwmon/ina3221modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/sp_SP/hwmon/ina3221modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hKernel driver ina3221h]hKernel driver ina3221}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh;/var/lib/git/docbuild/linux/Documentation/hwmon/ina3221.rsthKubh paragraph)}(hSupported chips:h]hSupported chips:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh block_quote)}(h* Texas Instruments INA3221 Prefix: 'ina3221' Addresses: I2C 0x40 - 0x43 Datasheet: Publicly available at the Texas Instruments website https://www.ti.com/ h]h bullet_list)}(hhh]h list_item)}(hTexas Instruments INA3221 Prefix: 'ina3221' Addresses: I2C 0x40 - 0x43 Datasheet: Publicly available at the Texas Instruments website https://www.ti.com/ h](h)}(hTexas Instruments INA3221h]hTexas Instruments INA3221}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubh)}(hPrefix: 'ina3221'h]hPrefix: ‘ina3221’}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubh)}(hAddresses: I2C 0x40 - 0x43h]hAddresses: I2C 0x40 - 0x43}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubh)}(h>Datasheet: Publicly available at the Texas Instruments websiteh]h>Datasheet: Publicly available at the Texas Instruments website}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubh)}(hhttps://www.ti.com/ h]h)}(hhttps://www.ti.com/h]h reference)}(hjh]hhttps://www.ti.com/}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhhKhhubeh}(h]h ]h"]h$]h&]uh1hhhubah}(h]h ]h"]h$]h&]bullet*uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(h$Author: Andrew F. Davis h](hAuthor: Andrew F. Davis <}(hjHhhhNhNubj)}(h afd@ti.comh]h afd@ti.com}(hjPhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:afd@ti.comuh1jhjHubh>}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(h Descriptionh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhhhhhKubh)}(hXThe Texas Instruments INA3221 monitors voltage, current, and power on the high side of up to three D.C. power supplies. The INA3221 monitors both shunt drop and supply voltage, with programmable conversion times and averaging, current and power are calculated host-side from these.h]hXThe Texas Instruments INA3221 monitors voltage, current, and power on the high side of up to three D.C. power supplies. The INA3221 monitors both shunt drop and supply voltage, with programmable conversion times and averaging, current and power are calculated host-side from these.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjjhhubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Sysfs entriesh]h Sysfs entries}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK7uh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h in[123]_labelh]h in[123]_label}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hVoltage channel labelsh]hVoltage channel labels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin[123]_enableh]hin[123]_enable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hVoltage channel enable controlsh]hVoltage channel enable controls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h in[123]_inputh]h in[123]_input}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hj<ubah}(h]h ]h"]h$]h&]uh1jhj9ubj)}(hhh]h)}(hBus voltage(mV) channelsh]hBus voltage(mV) channels}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hjSubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hcurr[123]_inputh]hcurr[123]_input}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjsubah}(h]h ]h"]h$]h&]uh1jhjpubj)}(hhh]h)}(h Current(mA) measurement channelsh]h Current(mA) measurement channels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hshunt[123]_resistorh]hshunt[123]_resistor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK"hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hShunt resistance(uOhm) channelsh]hShunt resistance(uOhm) channels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hcurr[123]_crith]hcurr[123]_crit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(huCritical alert current(mA) setting, activates the corresponding alarm when the respective current is above this valueh]huCritical alert current(mA) setting, activates the corresponding alarm when the respective current is above this value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hcurr[123]_crit_alarmh]hcurr[123]_crit_alarm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK&hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h%Critical alert current limit exceededh]h%Critical alert current limit exceeded}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK&hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h curr[123]_maxh]h curr[123]_max}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK'hjOubah}(h]h ]h"]h$]h&]uh1jhjLubj)}(hhh]h)}(h}Warning alert current(mA) setting, activates the corresponding alarm when the respective current average is above this value.h]h}Warning alert current(mA) setting, activates the corresponding alarm when the respective current average is above this value.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK'hjfubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hcurr[123]_max_alarmh]hcurr[123]_max_alarm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK*hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h$Warning alert current limit exceededh]h$Warning alert current limit exceeded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h in[456]_inputh]h in[456]_input}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK+hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h7Shunt voltage(uV) for channels 1, 2, and 3 respectivelyh]h7Shunt voltage(uV) for channels 1, 2, and 3 respectively}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h in7_inputh]h in7_input}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h!Sum of shunt voltage(uV) channelsh]h!Sum of shunt voltage(uV) channels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h in7_labelh]h in7_label}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hj+ubah}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh]h)}(h&Channel label for sum of shunt voltageh]h&Channel label for sum of shunt voltage}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hjBubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h curr4_inputh]h curr4_input}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hjbubah}(h]h ]h"]h$]h&]uh1jhj_ubj)}(hhh]h)}(hSum of current(mA) measurement channels, (only available when all channels use the same resistor value for their shunt resistors)h]hSum of current(mA) measurement channels, (only available when all channels use the same resistor value for their shunt resistors)}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hjyubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h curr4_crith]h curr4_crit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hCritical alert current(mA) setting for sum of current measurements, activates the corresponding alarm when the respective current is above this value (only effective when all channels use the same resistor value for their shunt resistors)h]hCritical alert current(mA) setting for sum of current measurements, activates the corresponding alarm when the respective current is above this value (only effective when all channels use the same resistor value for their shunt resistors)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hcurr4_crit_alarmh]hcurr4_crit_alarm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hFCritical alert current limit exceeded for sum of current measurements.h]hFCritical alert current limit exceeded for sum of current measurements.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hsamplesh]hsamples}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](h)}(h.Number of samples using in the averaging mode.h]h.Number of samples using in the averaging mode.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubh)}(h'Supports the list of number of samples:h]h'Supports the list of number of samples:}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjubh)}(h"1, 4, 16, 64, 128, 256, 512, 1024 h]h)}(h!1, 4, 16, 64, 128, 256, 512, 1024h]h!1, 4, 16, 64, 128, 256, 512, 1024}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjdubah}(h]h ]h"]h$]h&]uh1jhjaubj)}(hhh](h)}(h/Data conversion time in millisecond, following:h]h/Data conversion time in millisecond, following:}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK>hj{ubh)}(hupdate_interval = C x S x (BC + SC) * C: number of enabled channels * S: number of samples * BC: bus-voltage conversion time in millisecond * SC: shunt-voltage conversion time in millisecond h](h)}(h#update_interval = C x S x (BC + SC)h]h#update_interval = C x S x (BC + SC)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjubh)}(hhh](h)}(hC: number of enabled channelsh]h)}(hjh]hC: number of enabled channels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(hS: number of samplesh]h)}(hjh]hS: number of samples}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(h.BC: bus-voltage conversion time in millisecondh]h)}(hjh]h.BC: bus-voltage conversion time in millisecond}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(h1SC: shunt-voltage conversion time in millisecond h]h)}(h0SC: shunt-voltage conversion time in millisecondh]h0SC: shunt-voltage conversion time in millisecond}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]j@jAuh1hhhhKBhjubeh}(h]h ]h"]h$]h&]uh1hhhhK@hj{ubh)}(hAffects both Bus- and Shunt-voltage conversion time. Note that setting update_interval to 0ms sets both BC and SC to 140 us (minimum conversion time).h]hAffects both Bus- and Shunt-voltage conversion time. Note that setting update_interval to 0ms sets both BC and SC to 140 us (minimum conversion time).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj{ubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] sysfs-entriesah ]h"] sysfs entriesah$]h&]uh1hhhhhhhhKubeh}(h]kernel-driver-ina3221ah ]h"]kernel driver ina3221ah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjierror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jDjAjjj<j9u nametypes}(jDjj<uh}(jAhjjjj9ju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.