|
|
| MSP430x11x1 | |
|
|
| MIXED SIGNAL MICROCONTROLLER | |
|
|
| SLAS241C ± SEPTEMBER 1999 ± REVISED JUNE 2000 | |
| APPLICATION INFORMATION | |||
Port P2, P2.0 to P2.2, input/output with |
| |||
P2SEL.x | 0 |
| VCC | |
P2DIR.x | 0: Input |
| ||
| See Note 27 | |||
Direction Control | 1 | 1: Output | ||
| ||||
From Module |
|
| ||
|
|
| ||
| 0 | Pad Logic | See Note 28 | |
P2OUT.x | P2.0 ± P2.2 | |||
|
| |||
Module X OUT | 1 |
|
| |
|
|
| ||
|
|
| See Note 28 | |
|
|
| See Note 27 | |
|
|
| GND | |
|
|
| Bus Keeper |
P2IN.x |
|
| EN |
Module X IN | D |
CAPD.X
|
| P2IRQ.x | P2IE.x | EN |
|
|
| Interrupt |
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
| Q |
|
| Edge |
|
|
|
| ||||
|
|
|
|
|
| P2IFG.x |
|
|
|
| ||||||||
|
|
|
|
|
| Set |
|
| Select |
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Interrupt |
|
|
|
|
|
|
|
|
| ||
NOTE: x = Bit Identifier, 0 to 2 for port P2 |
| Flag | P2IES.x |
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
| P2SEL.x |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| Direction |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PnSel.x | PnDIR.x |
| control from |
| PnOUT.x | Module X OUT |
| PnIN.x |
| Module X IN | PnIE.x | PnIFG.x | PnIES.x | |||||
|
|
| module |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
P2Sel.0 | P2DIR.0 |
| P2DIR.0 |
| P2OUT.0 | ACLK |
| P2IN.0 |
| unused | P2IE.0 | P2IFG.0 | P1IES.0 | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
P2Sel.1 | P2DIR.1 |
| P2DIR.1 |
| P2OUT.1 | VSS |
| P2IN.1 |
| INCLK² | P2IE.1 | P2IFG.1 | P1IES.1 | |||||
P2Sel.2 | P2DIR.2 |
| P2DIR.2 |
|
| P2OUT.2 | CAOUT |
| P2IN.2 |
| CCI0B² | P2IE.2 | P2IFG.2 | P1IES.2 |
² Signal from or to Timer_A
NOTES: 27. Optional selection of pullup or pulldown resistors with ROM (masked) versions.
28. Fuses for optional pullup and pulldown resistors can only be programmed at the factory (ROM versions only).
POST OFFICE BOX 655303 •DALLAS, TEXAS 75265 | 39 |