| Electronic Components Datasheet Search |
|
SN8A1702AX Datasheet(PDF) 90 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8A1702AX Datasheet(HTML) 90 Page - SONiX Technology Company |
|
90 / 112 page ![]() Preliminary SN8P1702A/SN8P1703A 8-bit micro-controller build-in 12-bit ADC SONiX TECHNOLOGY CO., LTD Page 90 Revision 0.5 I/O PORT MODE The port direction is programmed by PnM register. Port 0 is always input mode. Port 1,2,4 and 5 can select input or output direction. P1M initial value = xxxx xx00 0C1H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 P1M 0 0 0 0 0 0 P11M P10M - - - - - - R/W R/W Bit[1:0] P1[1:0]M:P1.0~P1.1 I/O direction control bit. 0 = input mode 1 = output mode. P4M initial value = xxxx 0000 0C4H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 P4M 0 0 0 0 P43M P42M P41M P40M - - - - R/W R/W R/W R/W Bit[3:0] P4[3:0]M:P4.0~P4.3 I/O direction control bit. 0 = input mode 1 = output mode. P5M initial value = xx00 0000 0C5H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 P5M 0 0 P55M P54M P53M P52M P51M P50M - - R/W R/W R/W R/W R/W R/W Bit[5:0] P5[5:0]M: P5.0~P5.5 I/O direction control bit. 0 = input mode 1 = output mode. The each bit of PnM is set to “0”, the I/O pin is input mode. The each bit of PnM is set to “1”, the I/O pin is output mode. Input mode is with pull-up resistor controlled by setting @SET_UP macro. The output mode disables the pull-up resistors no matter pull-up resistors is set or not. The PnM registers are read/write bi-direction registers. Users can program them by bit control instructions (B0BSET, B0BCLR). |
|
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 |