Go to the source code of this file.
Define Documentation
#define __MSP430_HAS_PORT_MAPPING__ |
#define PMAP_ENABLE_RECONFIGURATION PMAPRECFG |
#define PMAP_DISABLE_RECONFIGURATION 0x00 |
Function Documentation
void PMAP_configurePorts |
( |
unsigned int |
baseAddress, |
|
|
const unsigned char * |
portMapping, |
|
|
unsigned char * |
PxMAPy, |
|
|
unsigned char |
numberOfPorts, |
|
|
unsigned char |
portMapReconfigure |
|
) |
| |
This function configures the MSP430 Port Mapper
- Parameters:
-
baseAddress | is the base address of the Port Mapper module. |
portMapping | is the pointer to init Data |
PxMAPy | is the pointer start of first Port Mapper to initialize |
numberOfPorts | is the number of Ports to initialize |
portMapReconfigure | is used to enable/disable reconfiguration Valid values are PMAP_ENABLE_RECONFIGURATION PMAP_DISABLE_RECONFIGURATION [Default value] Modified registers are PMAPKEYID, PMAPCTL |
- Returns:
- None
References ASSERT, HWREG, HWREGB, PMAP_DISABLE_RECONFIGURATION, and PMAP_ENABLE_RECONFIGURATION.