| Electronic Components Datasheet Search |
|
TCA6416ARTWR Datasheet(PDF) 22 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TCA6416ARTWR Datasheet(HTML) 22 Page - Texas Instruments |
|
22 / 45 page ![]() Once a new command has been sent, the register that was addressed continues to be accessed by reads until a new command byte has been sent. B2 B1 B0 B5 B4 B3 B7 B6 Figure 8-7. Control Register Bits Table 8-4. Command Byte CONTROL REGISTER BITS COMMAND BYTE (HEX) REGISTER PROTOCOL POWER-UP DEFAULT B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0 0 0 00 Input Port 0 Read byte xxxx xxxx(1) 0 0 0 0 0 0 0 1 01 Input Port 1 Read byte xxxx xxxx(1) 0 0 0 0 0 0 1 0 02 Output Port 0 Read/write byte 1111 1111 0 0 0 0 0 0 1 1 03 Output Port 1 Read/write byte 1111 1111 0 0 0 0 0 1 0 0 04 Polarity Inversion 0 Read/write byte 0000 0000 0 0 0 0 0 1 0 1 05 Polarity Inversion 1 Read/write byte 0000 0000 0 0 0 0 0 1 1 0 06 Configuration 0 Read/write byte 1111 1111 0 0 0 0 0 1 1 1 07 Configuration 1 Read/write byte 1111 1111 (1) Undefined 8.6.3 Register Descriptions The Input Port registers (registers 0 and 1) reflect the incoming logic levels of the pins, regardless of whether the pin is defined as an input or an output by the Configuration register. They act only on read operation. Writes to these registers have no effect. The default value (X) is determined by the externally applied logic level. Before a read operation, a write transmission is sent with the command byte to indicate to the I2C device that the Input Port register will be accessed next. Table 8-5. Registers 0 and 1 (Input Port Registers) BIT I-07 I-06 I-05 I-04 I-03 I-02 I-01 I-00 DEFAULT X X X X X X X X BIT I-17 I-16 I-15 I-14 I-13 I-12 I-11 I-10 DEFAULT X X X X X X X X The Output Port registers (registers 2 and 3) shows the outgoing logic levels of the pins defined as outputs by the Configuration register. Bit values in these registers have no effect on pins defined as inputs. In turn, reads from these registers reflect the value that is in the flip-flop controlling the output selection, not the actual pin value. Table 8-6. Registers 2 and 3 (Output Port Registers) BIT O-07 O-06 O-05 O-04 O-03 O-02 O-01 O-00 DEFAULT 1 1 1 1 1 1 1 1 BIT O-17 O-16 O-15 O-14 O-13 O-12 O-11 O-10 DEFAULT 1 1 1 1 1 1 1 1 The Polarity Inversion registers (register 4 and 5) allow polarity inversion of pins defined as inputs by the Configuration register. If a bit in these registers is set (written with 1), the corresponding port pin's polarity is inverted. If a bit in these registers is cleared (written with a 0), the corresponding port pin's original polarity is retained. Table 8-7. Registers 4 and 5 (Polarity Inversion Registers) BIT P-07 P-06 P-05 P-04 P-03 P-02 P-01 P-00 DEFAULT 0 0 0 0 0 0 0 0 TCA6416A SCPS194F – MAY 2009 – REVISED JANUARY 2023 www.ti.com 22 Submit Document Feedback Copyright © 2023 Texas Instruments Incorporated Product Folder Links: TCA6416A |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |