| Electronic Components Datasheet Search |
|
17P012 Datasheet(PDF) 83 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
17P012 Datasheet(HTML) 83 Page - Renesas Technology Corp |
|
83 / 320 page ![]() µPD17012, 17P012 81 Data Sheet U10101EJ4V0DS 10.3.2 Using I/O ports The I/O ports are set in the input or output mode by I/O select registers P0A P0B, P1A, and P1D of the control registers. The bit I/O ports (P0A, P0B, and P1A) can be set in the input or output mode in 1-bit units, and group I/O port (P1D) can be set in the input or output mode in 4-bit units. Output data can be set to a port by writing the data to the corresponding port register, and the input data of the port can be read by executing an instruction that reads the port register. 10.3.3 explains the I/O select register of each port. 10.3.4 and 10.3.5 explain how to use the input and output ports. 10.3.3 I/O port control register The port 0A bit I/O, port 0B bit I/O, port 1A bit I/O, and port 1D group I/O select registers set each pin of the P0A, P0B, P1A, and P1D in the input or output mode. The configuration and functions of these registers are shown below. (1) Port 0A bit I/O select register Name Flag symbol b3 b2 b1 b0 Address 37H Read/ Write 0 1 Sets input or output mode of port Sets P0A0/SI1 pin in input mode. Sets P0A0/SI1 pin in output mode. Power-on Clock stop CE 00 0 0 0 0 0 0 0 0 Port 0A bit I/O select register Sets input or output mode of port Sets P0A1/SO1 pin in input mode. Sets P0A1/SO1 pin in output mode. Sets input or output mode of port Sets P0A2/SCK1 pin in input mode. Sets P0A2/SCK1 pin in output mode. Fixed to "0" 0 1 0 1 0P 0 A B I O 2 P 0 A B I O 1 P 0 A B I O 0 R/W |
|
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 |