BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
#include <bsp430/periph/port.h>
Data Fields | |
uBSP430hplPORT_16 | in |
uBSP430hplPORT_16 | out |
uBSP430hplPORT_16 | dir |
uBSP430hplPORT_16 | ren |
uBSP430hplPORT_16 | ds |
union { | |
uBSP430hplPORT_16 sel | |
uBSP430hplPORT_16 sel0 | |
}; | |
uBSP430hplPORT_16 | sel1 |
unsigned int | _reserved_x0E |
unsigned int | _reserved_x10 |
unsigned int | _reserved_x12 |
unsigned int | _reserved_x14 |
uBSP430hplPORT_16 | selc |
uBSP430hplPORT_16 | ies |
uBSP430hplPORT_16 | ie |
uBSP430hplPORT_16 | ifg |
Layout for 5xx family ports, 16-bit access
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::dir |
PxDIR (set for output)
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::ds |
PxDS (drive select, some devices)
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::ie |
PxIE
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::ies |
PxIES
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::ifg |
PxIFG
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::in |
PxIN
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::out |
PxOUT
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::ren |
PxREN (set to enable)
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::sel |
PxSEL (non-FR5xx devices)
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::sel0 |
PxSEL0 (FR5xx devices)
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::sel1 |
PxSEL1 (secondary/tertiary function, FR5xx devices only)
uBSP430hplPORT_16 sBSP430hplPORT_5XX_16::selc |
PxSELC (support atomic transition to tertiary function, FR5xx devices only)