| 数据搜索系统,热门电子元器件搜索 |
|
T48C862-R4 数据表(PDF) 35 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
T48C862-R4 数据表(HTML) 35 Page - ATMEL Corporation |
|
35 / 107 page ![]() 35 T48C862-R4 [Preliminary] 4551C–4BMCU–01/04 Port 2 Data Register (P2DAT) Primary register address: "2"hex * Bit 3 -> MSB, Bit 0 -> LSB Port 2 Control Register (P2CR) Auxiliary register address: "2"hex Value: 1111b means all pins in input mode Table 10. Port 2 Control Register Bi-directional Port 5 As all other bi-directional ports, this port includes a bitwise programmable Control Reg- ister (P5CR), which allows the individual programming of each port bit as input or output. It also opens up the possibility of reading the pin condition when in output mode. This is a useful feature for self testing and for serial bus applications. The port pins can also be used as external interrupt inputs (see Figure 30 on page 36 and Figure 31 on page 36). The interrupts (INT1 and INT6) can be masked or indepen- dently configured to trigger on either edge. The interrupt configuration and port direction is controlled by the Port 5 Control Register (P5CR). An additional low resistance pull- up/pull-down transistor mask option provides an internal bus pull-up for serial bus applications. The Port 5 Data Register (P5DAT) is I/O mapped to the primary address register of address "5"h and the Port 5 Control Register (P5CR) to the corresponding auxiliary register. The P5CR is a byte-wide register and is configured by writing first the low nibble and then the high nibble (see section “Addressing Peripherals” on page 30). Bit 3 * Bit 2 Bit 1 Bit 0 P2DAT3 P2DAT2 P2DAT1 P2DAT0 Reset value: 1111b Bit 3Bit 2Bit 1Bit 0 P2CR3 P2CR2 P2CR1 P2CR0 Reset value: 1111b Code 3 2 1 0 Function x x x 1 BP20 in input mode x x x 0 BP20 in output mode x x 1 x BP21 in input mode x x 0 x BP21 in output mode x 1 x x BP22 in input mode x 0 x x BP22 in output mode 1 x x x BP23 in input mode 0 x x x BP23 in output mode |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |