€•ÍQŒsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ!/translations/zh_CN/hwmon/pcf8591”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/zh_TW/hwmon/pcf8591”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/it_IT/hwmon/pcf8591”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/ja_JP/hwmon/pcf8591”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/ko_KR/hwmon/pcf8591”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/pt_BR/hwmon/pcf8591”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/sp_SP/hwmon/pcf8591”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒKernel driver pcf8591”h]”hŒKernel driver pcf8591”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ;/var/lib/git/docbuild/linux/Documentation/hwmon/pcf8591.rst”h´KubhŒ paragraph”“”)�”}”(hŒSupported chips:”h]”hŒSupported chips:”…”�”}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒ block_quote”“”)�”}”(hŒ®* Philips/NXP PCF8591 Prefix: 'pcf8591' Addresses scanned: none Datasheet: Publicly available at the NXP website http://www.nxp.com/pip/PCF8591_6.html ”h]”hŒ bullet_list”“”)�”}”(hhh]”hŒ list_item”“”)�”}”(hŒ¤Philips/NXP PCF8591 Prefix: 'pcf8591' Addresses scanned: none Datasheet: Publicly available at the NXP website http://www.nxp.com/pip/PCF8591_6.html ”h]”(hÌ)�”}”(hŒPhilips/NXP PCF8591”h]”hŒPhilips/NXP PCF8591”…”�”}”(hhìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhèubhÌ)�”}”(hŒPrefix: 'pcf8591'”h]”hŒPrefix: ‘pcf8591’”…”�”}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhèubhÌ)�”}”(hŒAddresses scanned: none”h]”hŒAddresses scanned: none”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhèubhÌ)�”}”(hŒ0Datasheet: Publicly available at the NXP website”h]”hŒ0Datasheet: Publicly available at the NXP website”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhèubhÜ)�”}”(hŒ&http://www.nxp.com/pip/PCF8591_6.html ”h]”hÌ)�”}”(hŒ%http://www.nxp.com/pip/PCF8591_6.html”h]”hŒ reference”“”)�”}”(hj*h]”hŒ%http://www.nxp.com/pip/PCF8591_6.html”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j*uh1j,hj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÊh´Khhèubeh}”(h]”h ]”h"]”h$]”h&]”uh1hæhhãubah}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1háh³hÊh´KhhÝubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÊh´Khh·h²hubhŒdefinition_list”“”)�”}”(hhh]”hŒdefinition_list_item”“”)�”}”(hŒ•Authors: - Aurelien Jarno - valuable contributions by Jan M. Sendler , - Jean Delvare ”h]”(hŒterm”“”)�”}”(hŒAuthors:”h]”hŒAuthors:”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jgh³hÊh´KhjcubhŒ definition”“”)�”}”(hhh]”hâ)�”}”(hhh]”(hç)�”}”(hŒ%Aurelien Jarno ”h]”hÌ)�”}”(hj�h]”(hŒAurelien Jarno <”…”�”}”(hjƒh²hh³Nh´Nubj-)�”}”(hŒaurelien@aurel32.net”h]”hŒaurelien@aurel32.net”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:aurelien@aurel32.net”uh1j,hjƒubhŒ>”…”�”}”(hjƒh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhj|ubhç)�”}”(hŒ>valuable contributions by Jan M. Sendler ,”h]”hÌ)�”}”(hj¬h]”(hŒ*valuable contributions by Jan M. Sendler <”…”�”}”(hj®h²hh³Nh´Nubj-)�”}”(hŒsendler@sendler.de”h]”hŒsendler@sendler.de”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:sendler@sendler.de”uh1j,hj®ubhŒ>,”…”�”}”(hj®h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjªubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhj|ubhç)�”}”(hŒ!Jean Delvare ”h]”hÌ)�”}”(hŒJean Delvare ”h]”(hŒJean Delvare <”…”�”}”(hjÙh²hh³Nh´Nubj-)�”}”(hŒjdelvare@suse.de”h]”hŒjdelvare@suse.de”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:jdelvare@suse.de”uh1j,hjÙubhŒ>”…”�”}”(hjÙh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhj|ubeh}”(h]”h ]”h"]”h$]”h&]”jTŒ-”uh1háh³hÊh´Khjyubah}”(h]”h ]”h"]”h$]”h&]”uh1jwhjcubeh}”(h]”h ]”h"]”h$]”h&]”uh1jah³hÊh´Khj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1j\hh·h²hh³Nh´Nubh¶)�”}”(hhh]”(h»)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´KubhÌ)�”}”(hŒßThe PCF8591 is an 8-bit A/D and D/A converter (4 analog inputs and one analog output) for the I2C bus produced by Philips Semiconductors (now NXP). It is designed to provide a byte I2C interface to up to 4 separate devices.”h]”hŒßThe PCF8591 is an 8-bit A/D and D/A converter (4 analog inputs and one analog output) for the I2C bus produced by Philips Semiconductors (now NXP). It is designed to provide a byte I2C interface to up to 4 separate devices.”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubhÌ)�”}”(hŒTThe PCF8591 has 4 analog inputs programmable as single-ended or differential inputs:”h]”hŒTThe PCF8591 has 4 analog inputs programmable as single-ended or differential inputs:”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubhâ)�”}”(hhh]”(hç)�”}”(hŒfmode 0 : four single ended inputs Pins AIN0 to AIN3 are single ended inputs for channels 0 to 3 ”h]”j])�”}”(hhh]”jb)�”}”(hŒ`mode 0 : four single ended inputs Pins AIN0 to AIN3 are single ended inputs for channels 0 to 3 ”h]”(jh)�”}”(hŒmode 0”h]”hŒmode 0”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jgh³hÊh´K!hjQubhŒ classifier”“”)�”}”(hŒfour single ended inputs”h]”hŒfour single ended inputs”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jchjQh³hÊubjx)�”}”(hhh]”hÌ)�”}”(hŒ=Pins AIN0 to AIN3 are single ended inputs for channels 0 to 3”h]”hŒ=Pins AIN0 to AIN3 are single ended inputs for channels 0 to 3”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K!hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1jwhjQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jah³hÊh´K!hjNubah}”(h]”h ]”h"]”h$]”h&]”uh1j\hjJubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhjGh²hh³Nh´Nubhç)�”}”(hŒªmode 1 : three differential inputs Pins AIN3 is the common negative differential input Pins AIN0 to AIN2 are positive differential inputs for channels 0 to 2 ”h]”j])�”}”(hhh]”jb)�”}”(hŒžmode 1 : three differential inputs Pins AIN3 is the common negative differential input Pins AIN0 to AIN2 are positive differential inputs for channels 0 to 2 ”h]”(jh)�”}”(hŒmode 1”h]”hŒmode 1”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jgh³hÊh´K%hj£ubjd)�”}”(hŒthree differential inputs”h]”hŒthree differential inputs”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jchj£h³hÊubjx)�”}”(hhh]”hÌ)�”}”(hŒzPins AIN3 is the common negative differential input Pins AIN0 to AIN2 are positive differential inputs for channels 0 to 2”h]”hŒzPins AIN3 is the common negative differential input Pins AIN0 to AIN2 are positive differential inputs for channels 0 to 2”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K$hjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jwhj£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jah³hÊh´K%hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j\hjœubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhjGh²hh³Nh´Nubhç)�”}”(hŒõmode 2 : single ended and differential mixed Pins AIN0 and AIN1 are single ended inputs for channels 0 and 1 Pins AIN2 is the positive differential input for channel 3 Pins AIN3 is the negative differential input for channel 3 ”h]”j])�”}”(hhh]”jb)�”}”(hŒãmode 2 : single ended and differential mixed Pins AIN0 and AIN1 are single ended inputs for channels 0 and 1 Pins AIN2 is the positive differential input for channel 3 Pins AIN3 is the negative differential input for channel 3 ”h]”(jh)�”}”(hŒmode 2”h]”hŒmode 2”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jgh³hÊh´K*hjóubjd)�”}”(hŒ#single ended and differential mixed”h]”hŒ#single ended and differential mixed”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jchjóh³hÊubjx)�”}”(hhh]”hÌ)�”}”(hŒµPins AIN0 and AIN1 are single ended inputs for channels 0 and 1 Pins AIN2 is the positive differential input for channel 3 Pins AIN3 is the negative differential input for channel 3”h]”hŒµPins AIN0 and AIN1 are single ended inputs for channels 0 and 1 Pins AIN2 is the positive differential input for channel 3 Pins AIN3 is the negative differential input for channel 3”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K(hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jwhjóubeh}”(h]”h ]”h"]”h$]”h&]”uh1jah³hÊh´K*hjðubah}”(h]”h ]”h"]”h$]”h&]”uh1j\hjìubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhjGh²hh³Nh´Nubhç)�”}”(hX%mode 3 : two differential inputs Pins AIN0 is the positive differential input for channel 0 Pins AIN1 is the negative differential input for channel 0 Pins AIN2 is the positive differential input for channel 1 Pins AIN3 is the negative differential input for channel 1 ”h]”j])�”}”(hhh]”jb)�”}”(hX mode 3 : two differential inputs Pins AIN0 is the positive differential input for channel 0 Pins AIN1 is the negative differential input for channel 0 Pins AIN2 is the positive differential input for channel 1 Pins AIN3 is the negative differential input for channel 1 ”h]”(jh)�”}”(hŒmode 3”h]”hŒmode 3”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jgh³hÊh´K0hjCubjd)�”}”(hŒtwo differential inputs”h]”hŒtwo differential inputs”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jchjCh³hÊubjx)�”}”(hhh]”hÌ)�”}”(hŒëPins AIN0 is the positive differential input for channel 0 Pins AIN1 is the negative differential input for channel 0 Pins AIN2 is the positive differential input for channel 1 Pins AIN3 is the negative differential input for channel 1”h]”hŒëPins AIN0 is the positive differential input for channel 0 Pins AIN1 is the negative differential input for channel 0 Pins AIN2 is the positive differential input for channel 1 Pins AIN3 is the negative differential input for channel 1”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K-hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1jwhjCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jah³hÊh´K0hj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1j\hj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhjGh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jTjuh1háh³hÊh´K hjh²hubhÌ)�”}”(hŒSee the datasheet for details.”h]”hŒSee the datasheet for details.”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K2hjh²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒModule parameters”h]”hŒModule parameters”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj¨h²hh³hÊh´K5ubhâ)�”}”(hhh]”hç)�”}”(hŒÊinput_mode int Analog input mode: - 0 = four single ended inputs - 1 = three differential inputs - 2 = single ended and differential mixed - 3 = two differential inputs ”h]”(hÌ)�”}”(hŒinput_mode int”h]”hŒinput_mode int”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K7hj¼ubhÜ)�”}”(hŒ°Analog input mode: - 0 = four single ended inputs - 1 = three differential inputs - 2 = single ended and differential mixed - 3 = two differential inputs ”h]”(hÌ)�”}”(hŒAnalog input mode:”h]”hŒAnalog input mode:”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K9hjÎubhÜ)�”}”(hŒˆ- 0 = four single ended inputs - 1 = three differential inputs - 2 = single ended and differential mixed - 3 = two differential inputs ”h]”hâ)�”}”(hhh]”(hç)�”}”(hŒ0 = four single ended inputs”h]”hÌ)�”}”(hjéh]”hŒ0 = four single ended inputs”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K;hjçubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhjäubhç)�”}”(hŒ1 = three differential inputs”h]”hÌ)�”}”(hjh]”hŒ1 = three differential inputs”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1hæhjäubeh}”(h]”h ]”h"]”h$]”h&]”jTjuh1háh³hÊh´K;hjàubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÊh´K;hjÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÊh´K9hj¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hæhj¹h²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”jTjUuh1háh³hÊh´K7hj¨h²hubeh}”(h]”Œmodule-parameters”ah ]”h"]”Œmodule parameters”ah$]”h&]”uh1hµhh·h²hh³hÊh´K5ubh¶)�”}”(hhh]”(h»)�”}”(hŒ$Accessing PCF8591 via /sys interface”h]”hŒ$Accessing PCF8591 via /sys interface”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjjh²hh³hÊh´KBubhÌ)�”}”(hX*The PCF8591 is plainly impossible to detect! Thus the driver won't even try. You have to explicitly instantiate the device at the relevant address (in the interval [0x48..0x4f]) either through platform data, or using the sysfs interface. See Documentation/i2c/instantiating-devices.rst for details.”h]”hX,The PCF8591 is plainly impossible to detect! Thus the driver won’t even try. You have to explicitly instantiate the device at the relevant address (in the interval [0x48..0x4f]) either through platform data, or using the sysfs interface. See Documentation/i2c/instantiating-devices.rst for details.”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KDhjjh²hubhÌ)�”}”(hŒ-<1>/ where <0> is the bus the chip is connected to (e. g. i2c-0) and <1> the chip address ([48..4f]) ”h]”(jh)�”}”(hŒ/sys/bus/i2c/devices/<0>-<1>/”h]”hŒ/sys/bus/i2c/devices/<0>-<1>/”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jgh³hÊh´KNhjšubjx)�”}”(hhh]”hÌ)�”}”(hŒ_where <0> is the bus the chip is connected to (e. g. i2c-0) and <1> the chip address ([48..4f])”h]”hŒ_where <0> is the bus the chip is connected to (e. g. i2c-0) and <1> the chip address ([48..4f])”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KMhj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jwhjšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jah³hÊh´KNhj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1j\hjjh²hh³hÊh´NubhÌ)�”}”(hŒ/Inside these directories, there are such files:”h]”hŒ/Inside these directories, there are such files:”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KPhjjh²hubhÜ)�”}”(hŒKin0_input, in1_input, in2_input, in3_input, out0_enable, out0_output, name ”h]”hÌ)�”}”(hŒJin0_input, in1_input, in2_input, in3_input, out0_enable, out0_output, name”h]”hŒJin0_input, in1_input, in2_input, in3_input, out0_enable, out0_output, name”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KRhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÊh´KRhjjh²hubhÌ)�”}”(hŒName contains chip name.”h]”hŒName contains chip name.”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KThjjh²hubhÌ)�”}”(hXAThe in0_input, in1_input, in2_input and in3_input files are RO. Reading gives the value of the corresponding channel. Depending on the current analog inputs configuration, files in2_input and in3_input may not exist. Values range from 0 to 255 for single ended inputs and -128 to +127 for differential inputs (8-bit ADC).”h]”hXAThe in0_input, in1_input, in2_input and in3_input files are RO. Reading gives the value of the corresponding channel. Depending on the current analog inputs configuration, files in2_input and in3_input may not exist. Values range from 0 to 255 for single ended inputs and -128 to +127 for differential inputs (8-bit ADC).”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KVhjjh²hubhÌ)�”}”(hŒ”The out0_enable file is RW. Reading gives "1" for analog output enabled and "0" for analog output disabled. Writing accepts "0" and "1" accordingly.”h]”hŒ¤The out0_enable file is RW. Reading gives “1â€� for analog output enabled and “0â€� for analog output disabled. Writing accepts “0â€� and “1â€� accordingly.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K\hjjh²hubhÌ)�”}”(hŒòThe out0_output file is RW. Writing a number between 0 and 255 (8-bit DAC), send the value to the digital-to-analog converter. Note that a voltage will only appears on AOUT pin if aout0_enable equals 1. Reading returns the last value written.”h]”hŒòThe out0_output file is RW. Writing a number between 0 and 255 (8-bit DAC), send the value to the digital-to-analog converter. Note that a voltage will only appears on AOUT pin if aout0_enable equals 1. Reading returns the last value written.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K_hjjh²hubeh}”(h]”Œ#accessing-pcf8591-via-sys-interface”ah ]”h"]”Œ$accessing pcf8591 via /sys interface”ah$]”h&]”uh1hµhh·h²hh³hÊh´KBubeh}”(h]”Œkernel-driver-pcf8591”ah ]”h"]”Œkernel driver pcf8591”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j`Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j:j7j¥j¢jgjdj2j/uŒ nametypes”}”(j:‰j¥‰jg‰j2‰uh}”(j7h·j¢jjdj¨j/jjuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.