pmap.h
Go to the documentation of this file.
00001 #ifndef __MSP430WARE_PMAP_H__
00002 #define __MSP430WARE_PMAP_H__
00003 
00004 //*****************************************************************************
00005 //
00006 //The following are the defines to include the required modules for this
00007 //peripheral in msp430xgeneric.h file
00008 //
00009 //*****************************************************************************
00010 #define __MSP430_HAS_PORT_MAPPING__
00011 
00012 //*****************************************************************************
00013 //
00014 //The following are values that can be passed to the PMAP_configurePorts() API
00015 //as the portMapReconfigure parameter.
00016 //
00017 //*****************************************************************************
00018 #define PMAP_ENABLE_RECONFIGURATION     PMAPRECFG
00019 #define PMAP_DISABLE_RECONFIGURATION    0x00
00020 
00021 
00022 //*****************************************************************************
00023 //
00024 //Prototypes for the APIs.
00025 //
00026 //*****************************************************************************
00027 extern void PMAP_configurePorts (  unsigned int baseAddress,
00028     const unsigned char *portMapping,
00029     unsigned char *PxMAPy,
00030     unsigned char numberOfPorts,
00031     unsigned char portMapReconfigure
00032     );
00033 
00034 #endif

Copyright 2012, Texas Instruments Incorporated