| Electronic Components Datasheet Search |
|
38K2 Datasheet(PDF) 152 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
38K2 Datasheet(HTML) 152 Page - Renesas Technology Corp |
|
152 / 358 page ![]() 2.1 I/O port Rev.2.00 Oct 15, 2006 page 3 of 112 38K2 Group REJ09B0338-0200 APPLICATION 2.1.2 Related registers Fig. 2.1.2 Structure of Port Pi (i = 0 to 6) Fig. 2.1.3 Structure of Port Pi direction register (i = 0 to 6) Port Pi b7 b6b5b4b3b2b1b0 BFunction At reset R W 0 1 2 3 4 5 6 7 Name Port Pi0 Port Pi1 Port Pi2 Port Pi3 Port Pi4 Port Pi5 Port Pi6 Port Pi7 In output mode Write Read q Port latch In input mode Write : Port latch Read : Value of pins q Port Pi (Pi) (i = 0, 1, 2, 3, 4, 5, 6) (Note) [Address : 0016, 0216, 0416, 0616, 0816, 0A16, 0C16] ? ? ? ? ? ? ? ? Note: Since the following ports are not allocated, the corrrsponding bits can not be used. • P20 to P23 • P44 to P47 • P64 to P67 Port Pi direction register b7b6b5b4b3b2b1b0 B Function At reset RW 0 1 2 3 4 5 6 7 Name Port Pi direction register 0 0 0 0 0 0 0 0 Port Pi direction register (PiD) (i = 0, 1, 2, 3, 4, 5, 6) (Note) [Address : 0116, 0316, 0516, 0716, 0916, 0B16, 0D16] 0 : Port Pi0 input mode 1 : Port Pi0 output mode 0 : Port Pi1 input mode 1 : Port Pi1 output mode 0 : Port Pi2 input mode 1 : Port Pi2 output mode 0 : Port Pi3 input mode 1 : Port Pi3 output mode 0 : Port Pi4 input mode 1 : Port Pi4 output mode 0 : Port Pi5 input mode 1 : Port Pi5 output mode 0 : Port Pi6 input mode 1 : Port Pi6 output mode 0 : Port Pi7 input mode 1 : Port Pi7 output mode ✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕ Note: Since the following ports are not allocated, the corrrsponding bits can not be used. • P20 to P23 • P44 to P47 • P64 to P67 Do not set bits of the direction register corresponding to ports P20–P23 (bits 0–3 of port P2 direction register (address 0516)) to output mode (“1”). If writing to these bits, write “0”. |
|
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 |