| Electronic Components Datasheet Search |
|
UPSD3422EB40U6 Datasheet(PDF) 234 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UPSD3422EB40U6 Datasheet(HTML) 234 Page - STMicroelectronics |
|
234 / 300 page ![]() Obsolete Product(s) - Obsolete Product(s) Obsolete Product(s) - Obsolete Product(s) PSD module UPSD3422, UPSD3433, UPSD3434, UPSD3454 234/300 pins, and change the output state of I/O pins by accessing the Data In, Direction, and Data Out csiop registers respectively at run-time. To implement MCU I/O mode, each desired pin is specified in PSDsoft Express as MCU I/O function and given a pin name. Then 8032 firmware is written to set the Direction bit for each corresponding pin during initialization routines (0 = In, 1 = Out of the chip), then the 8032 firmware simply reads the corresponding Data In register to determine the state of an I/O pin, or writes to a Data Out register to set the state of a pin. The Direction of each pin may be changed dynamically by the 8032 if desired. A mixture of input and output pins within a single port is allowed. Figure 79 on page 232 shows the Data In, Data Out, and Direction signal paths. The Data In registers are defined in Table 178 to Table 181. The Data Out registers are defined in Table 182 to Table 185 on page 235. The Direction registers are defined in Table 186 to Table 189 on page 236. Table 178. MCU I/O mode port A data in register(1) (address = csiop + offset 00h) (2) 1. Port A not available on 52-pin UPSD34xx devices. 2. For each bit, 1 = current state of input pin is logic '1,' 0 = current state is logic ’0’. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 Table 179. MCU I/O mode port B data in register (address = csiop + offset 01h)(1) 1. For each bit, 1 = current state of input pin is logic '1,' 0 = current state is logic ’0’. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 Table 180. MCU I/O mode port C data in register (address = csiop + offset 10h)(1) (2) 1. X = Not guaranteed value, can be read either '1' or '0.' 2. For each bit, 1 = current state of input pin is logic '1,' 0 = current state is logic ’0’ Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PC7 X X PC4 PC3 PC2 X X Table 181. MCU I/O mode port D Data in register (address = csiop + offset 11h)(1) (2) 1. X = Not guaranteed value, can be read either '1' or '0.' 2. For each bit, 1 = current state of input pin is logic '1,' 0 = current state is logic ’0’ Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 XX XX X PD2(3) 3. Not available on 52-pin UPSD34xx devices. PD1 X Table 182. MCU I/O mode port A data out register(1) (address = csiop + offset 04h)(2)(3) 1. Port A not available on 52-pin UPSD34xx devices. 2. For each bit, 1 = drive port pin to logic '1,' 0 = drive port pin to logic ’0’. 3. Default state of register is 00h after reset or power-up. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 Obsolete Product(s) - Obsolete Product(s) |
|
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 |