Functions
pmap.c File Reference
#include "inc/hw_types.h"
#include "driverlib/5xx_6xx/debug.h"
#include "driverlib/5xx_6xx/pmap.h"
#include "deprecated/CCS/msp430xgeneric.h"

Functions

void PMAP_configurePorts (unsigned int baseAddress, const unsigned char *portMapping, unsigned char *PxMAPy, unsigned char numberOfPorts, unsigned char portMapReconfigure)

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:
baseAddressis the base address of the Port Mapper module.
portMappingis the pointer to init Data
PxMAPyis the pointer start of first Port Mapper to initialize
numberOfPortsis the number of Ports to initialize
portMapReconfigureis 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.


Copyright 2012, Texas Instruments Incorporated