| Electronic Components Datasheet Search |
|
38C3 Datasheet(PDF) 69 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
38C3 Datasheet(HTML) 69 Page - Renesas Technology Corp |
|
69 / 224 page ![]() 2-4 38C3 Group User’s Manual APPLICATION 2.1 I/O port Fig. 2.1.5 Structure of Port Pi direction register (i = 2, 4, 5, 6, 8) Fig. 2.1.4 Structure of Port P0 direction register and port P1 direction register Port P0 direction register, Port P1 direction register b7 b6 b5 b4 b3 b2 b1 b0 Port P0 direction register (P0D: address 0116) Port P1 direction register (P1D: address 0316) b 0 Name 0 Functions At reset R W 0 0 0 0 0 Ports P0/P1 direction register 0 0 !! !! 0 !! !! !! !! ! ! ! Nothing is arranged for these bits. When these bits are read out, the contents are undefined. 2 3 4 5 6 7 1 0 : All bits of ports P0/P1 input mode 1 : All bits of ports P0/P1 output mode Note: Ports P0 and P1 are switched to input and output by each port. When b0 of corresponding port direction register is set to “0”, all 8 bits of port become input port. When b0 of corresponding port direction register is set to “1”, all 8 bits of port become output port. Nothing is arranged for b1 to b7 of port P0 and port P1 direction registers. These are write disabled bits. Port Pi direction register b7 b6 b5 b4 b3 b2 b1 b0 Port Pi direction register (i = 2, 4, 5, 6, 8) (PiD: addresses 0516, 0916, 0B16, 0D16, 1116) 0 : Port Pi0 input mode 1 : Port Pi0 output mode b 0 1 2 3 4 5 6 7 Name 0 Functions At reset R W 0 0 : Port Pi2 input mode 1 : Port Pi2 output mode 0 0 : Port Pi3 input mode 1 : Port Pi3 output mode 0 0 : Port Pi4 input mode 1 : Port Pi4 output mode 0 0 : Port Pi5 input mode 1 : Port Pi5 output mode 0 0 : Port Pi6 input mode 1 : Port Pi6 output mode 0 0 : Port Pi7 input mode 1 : Port Pi7 output mode 0 Port Pi direction register Note: Bit 1 of the port P5 direction register (address 0B16) does not have direction register function, because P51 is an input port. When writing to bit 1 of the port P5 direction register, write “0” to the bit. 0 : Port Pi1 input mode 1 : Port Pi1 output mode (Note) |
|
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 |