JAJSG78F July 2011 – September 2018 MSP430F5340 , MSP430F5341 , MSP430F5342
PRODUCTION DATA.
The port mapping controller allows the flexible and reconfigurable mapping of digital functions to port P4 (see Table 6-6). Table 6-7 lists the default settings for all pins that support port mapping.
VALUE | PxMAPy MNEMONIC | INPUT PIN FUNCTION | OUTPUT PIN FUNCTION |
---|---|---|---|
0 | PM_NONE | None | DVSS |
1 | PM_CBOUT0 | – | Comparator_B output |
PM_TB0CLK | TB0 clock input | – | |
2 | PM_ADC12CLK | – | ADC12CLK |
PM_DMAE0 | DMAE0 input | – | |
3 | PM_SVMOUT | – | SVM output |
PM_TB0OUTH | TB0 high-impedance input TB0OUTH | – | |
4 | PM_TB0CCR0A | TB0 CCR0 capture input CCI0A | TB0 CCR0 compare output Out0 |
5 | PM_TB0CCR1A | TB0 CCR1 capture input CCI1A | TB0 CCR1 compare output Out1 |
6 | PM_TB0CCR2A | TB0 CCR2 capture input CCI2A | TB0 CCR2 compare output Out2 |
7 | PM_TB0CCR3A | TB0 CCR3 capture input CCI3A | TB0 CCR3 compare output Out3 |
8 | PM_TB0CCR4A | TB0 CCR4 capture input CCI4A | TB0 CCR4 compare output Out4 |
9 | PM_TB0CCR5A | TB0 CCR5 capture input CCI5A | TB0 CCR5 compare output Out5 |
10 | PM_TB0CCR6A | TB0 CCR6 capture input CCI6A | TB0 CCR6 compare output Out6 |
11 | PM_UCA1RXD | USCI_A1 UART RXD (Direction controlled by USCI – input) | |
PM_UCA1SOMI | USCI_A1 SPI slave out master in (direction controlled by USCI) | ||
12 | PM_UCA1TXD | USCI_A1 UART TXD (Direction controlled by USCI – output) | |
PM_UCA1SIMO | USCI_A1 SPI slave in master out (direction controlled by USCI) | ||
13 | PM_UCA1CLK | USCI_A1 clock input/output (direction controlled by USCI) | |
PM_UCB1STE | USCI_B1 SPI slave transmit enable (direction controlled by USCI) | ||
14 | PM_UCB1SOMI | USCI_B1 SPI slave out master in (direction controlled by USCI) | |
PM_UCB1SCL | USCI_B1 I2C clock (open drain and direction controlled by USCI) | ||
15 | PM_UCB1SIMO | USCI_B1 SPI slave in master out (direction controlled by USCI) | |
PM_UCB1SDA | USCI_B1 I2C data (open drain and direction controlled by USCI) | ||
16 | PM_UCB1CLK | USCI_B1 clock input/output (direction controlled by USCI) | |
PM_UCA1STE | USCI_A1 SPI slave transmit enable (direction controlled by USCI) | ||
17 | PM_CBOUT1 | None | Comparator_B output |
18 | PM_MCLK | None | MCLK |
19-30 | Reserved | None | DVSS |
31 (0FFh)(1) | PM_ANALOG | Disables the output driver and the input Schmitt-trigger to prevent parasitic cross currents when applying analog signals. |
PIN | PxMAPy MNEMONIC | INPUT PIN FUNCTION | OUTPUT PIN FUNCTION |
---|---|---|---|
P4.0/P4MAP0 | PM_UCB1STE/PM_UCA1CLK | USCI_B1 SPI slave transmit enable (direction controlled by USCI)
USCI_A1 clock input/output (direction controlled by USCI) |
|
P4.1/P4MAP1 | PM_UCB1SIMO/PM_UCB1SDA | USCI_B1 SPI slave in master out (direction controlled by USCI)
USCI_B1 I2C data (open drain and direction controlled by USCI) |
|
P4.2/P4MAP2 | PM_UCB1SOMI/PM_UCB1SCL | USCI_B1 SPI slave out master in (direction controlled by USCI)
USCI_B1 I2C clock (open drain and direction controlled by USCI) |
|
P4.3/P4MAP3 | PM_UCB1CLK/PM_UCA1STE | USCI_A1 SPI slave transmit enable (direction controlled by USCI)
USCI_B1 clock input/output (direction controlled by USCI) |
|
P4.4/P4MAP4 | PM_UCA1TXD/PM_UCA1SIMO | USCI_A1 UART TXD (Direction controlled by USCI – output)
USCI_A1 SPI slave in master out (direction controlled by USCI) |
|
P4.5/P4MAP5 | PM_UCA1RXD/PM_UCA1SOMI | USCI_A1 UART RXD (Direction controlled by USCI – input)
USCI_A1 SPI slave out master in (direction controlled by USCI) |
|
P4.6/P4MAP6 | PM_NONE | None | DVSS |
P4.7/P4MAP7 | PM_NONE | None | DVSS |