| Electronic Components Datasheet Search |
|
AD009 Datasheet(PDF) 10 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
AD009 Datasheet(HTML) 10 Page - List of Unclassifed Manufacturers |
|
10 / 14 page ![]() AD009-041 Page 10 of 14 Version 1.0 Common I/O Symbol Addr R/W RSTB D3 D2 D1 D0 Description IOC_PA 02H R/W 0000 USER0 IOCA2 IOCA1 IOCA0 Port A input/output direction select 1: set port A as output port individual pin 0: set port A as input port individual pin USER0: 1 bit user RAM DATA_PA 03H R/W xxxx DPA3 (Read only ) DPA2 DPA1 DPA0 Read data from PA0~PA3 PIN and write data to PA0~PA2 PIN ( I/O direction is selected by IOC_PA register) IOC_PB 05H R/W 0000 IOCB3 IOCB2 IOCB1 IOCB0 Port B input/output direction select 1: set port B as output port individual pin 0: set port B as input port individual pin DATA_PB 06H R/W xxxx DPB3 DPB2 DPB1 DPB0 Read port B data from PB0~PB3 port and write to PB0~PB3 ( I/O direction is defined by IOC_PB register) Extended I/O Symbol Addr R/W Reset D3 D2 D1 D0 Description PAPU 00H W 0000 PAPU.3 PAPU.2 PAPU.1 PAPU.0 Port A pull up 150K ohm resistor 0: Port A pull up resistor disabled 1: Port A pull up resistor enabled PBPU 02H W 0000 PBPU.3 PBPU.2 PBPU.1 PBPU.0 Port B pull up 150K ohm resistor 0: Port B pull up resistor disabled 1: Port B pull up resistor enabled PAWK 06H W 0000 PAWK.3 PAWK.2 PAWK.1 PAWK.0 Port A wake up enable control 0: Port A wake up disabled 1: Port A wake up enabled PBWK 07H W 0000 PBWK.3 PBWK.2 PBWK.1 PBWK.0 Port B wake up enable control 0: Port B wake up disabled 1: Port B wake up enabled The Port A and Port B are 4-bit I/O port except PA3 is an input port. They can be bit programmable setting as input port or output port. In output mode, the data can be written out to external pin by DATA_PA OR DATA_PB register, and reading this output port will get data from DATA_PA or DATA_PB register. Pull-up resistor (150K ohm) will be disabled when output mode is selected. In input mode, Port A and Port B data can be read from external pin by reading DATA_PA or DATA_PB register, and they are provided pull-up resistor 150K or not by PAPU, PBPU registers. In addition, each pin of Port A and Port B also can be with wake up function by using register PAWK or PBWK setting to 1. In HALT mode, If Port A or Port B with wake up enabled by these registers, any edge trigger (rising or falling) occurred on Port A or Port B will wake up system and turn on HRCOSC oscillator, and the program counter of MCU will jump to the address 04H, running the wake up sub-routing program. PA3 is an input pin only, provided with pull up 150K ohm and edge wake up function. 5. 9. 2 Por t C (o utp u t) REM PIN is an open drain output port with large sink current structure, REM pin is controlled by DPC1 register. Symbol Addr R/W Reset D3 D2 D1 D0 Description IR_DIV 01H R/W 1000 DPC1 (REM) X X X DPC1(PC1/REM) is an output port for IR LED driving. 5. 9. 3 Por t D ( i nput / output) Symbol Addr R/W Reset D3 D2 D1 D0 Description IOC_PD 0CH R/W 0000 X IOCD2 IOCD1 IOCD0 Port D input/output direction select 1: set port D as output port individual pin 0: set port D as input port individual pin |
|
|
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 |