Digital I/O Registers
11-7
Digital I/O
11.3 Digital I/O Registers
The digital I/O registers are listed in Table 11−1 and Table 11−2.
Table 11−1. Digital I/O Registers, P1-P6
Port
Register
Short Form
Address
Register Type
Initial State
P1
Input
P1IN
020h
Read only
−
Output
P1OUT
021h
Read/write
Unchanged
Direction
P1DIR
022h
Read/write
Reset with PUC
Interrupt Flag
P1IFG
023h
Read/write
Reset with PUC
Interrupt Edge Select
P1IES
024h
Read/write
Unchanged
Interrupt Enable
P1IE
025h
Read/write
Reset with PUC
Port Select
P1SEL
026h
Read/write
Reset with PUC
Resistor Enable
P1REN
027h
Read/write
Reset with PUC
P2
Input
P2IN
028h
Read only
−
Output
P2OUT
029h
Read/write
Unchanged
Direction
P2DIR
02Ah
Read/write
Reset with PUC
Interrupt Flag
P2IFG
02Bh
Read/write
Reset with PUC
Interrupt Edge Select
P2IES
02Ch
Read/write
Unchanged
Interrupt Enable
P2IE
02Dh
Read/write
Reset with PUC
Port Select
P2SEL
02Eh
Read/write
0C0h with PUC
Resistor Enable
P2REN
02Fh
Read/write
Reset with PUC
P3
Input
P3IN
018h
Read only
−
Output
P3OUT
019h
Read/write
Unchanged
Direction
P3DIR
01Ah
Read/write
Reset with PUC
Port Select
P3SEL
01Bh
Read/write
Reset with PUC
Resistor Enable
P3REN
010h
Read/write
Reset with PUC
P4
Input
P4IN
01Ch
Read only
−
Output
P4OUT
01Dh
Read/write
Unchanged
Direction
P4DIR
01Eh
Read/write
Reset with PUC
Port Select
P4SEL
01Fh
Read/write
Reset with PUC
Resistor Enable
P4REN
011h
Read/write
Reset with PUC
P5
Input
P5IN
030h
Read only
−
Output
P5OUT
031h
Read/write
Unchanged
Direction
P5DIR
032h
Read/write
Reset with PUC
Port Select
P5SEL
033h
Read/write
Reset with PUC
Resistor Enable
P5REN
012h
Read/write
Reset with PUC
P6
Input
P6IN
034h
Read only
−
Output
P6OUT
035h
Read/write
Unchanged
Direction
P6DIR
036h
Read/write
Reset with PUC
Port Select
P6SEL
037h
Read/write
Reset with PUC
Resistor Enable
P6REN
013h
Read/write
Reset with PUC
Note:
Resistor enable registers RxREN only available in MSP430x47x devices.
Содержание MSP430x4xx Family
Страница 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Страница 2: ......
Страница 6: ...vi ...
Страница 114: ...3 76 RISC 16 Bit CPU ...
Страница 304: ...5 20 FLL Clock Module ...
Страница 340: ...7 8 Supply Voltage Supervisor ...
Страница 348: ...8 8 16 Bit Hardware Multiplier ...
Страница 372: ...9 24 32 Bit Hardware Multiplier ...
Страница 400: ...10 28 DMA Controller ...
Страница 428: ...13 10 Basic Timer1 ...
Страница 466: ...15 24 Timer_A ...
Страница 522: ...17 30 USART Peripheral Interface UART Mode ...
Страница 544: ...18 22 USART Peripheral Interface SPI Mode ...
Страница 672: ...23 12 Comparator_A ...
Страница 692: ...24 20 LCD Controller ...
Страница 746: ...26 28 ADC12 ...