7 #ifndef __MSP430WARE_FRAMCTL_H__ 8 #define __MSP430WARE_FRAMCTL_H__ 10 #include "inc/hw_memmap.h" 12 #ifdef __MSP430_HAS_FRAM__ 31 #define FRAMCTL_PUC_ON_UNCORRECTABLE_BIT UBDRSTEN 32 #define FRAMCTL_UNCORRECTABLE_BIT_INTERRUPT UBDIE 33 #define FRAMCTL_CORRECTABLE_BIT_INTERRUPT CBDIE 34 #define FRAMCTL_ACCESS_TIME_ERROR_INTERRUPT ACCTEIE 43 #define FRAMCTL_ACCESS_TIME_ERROR_FLAG ACCTEIFG 44 #define FRAMCTL_UNCORRECTABLE_BIT_FLAG UBDIFG 45 #define FRAMCTL_CORRECTABLE_BIT_FLAG CBDIFG 53 #define FRAMCTL_ACCESS_TIME_CYCLES_0 NWAITS_0 54 #define FRAMCTL_ACCESS_TIME_CYCLES_1 NWAITS_1 55 #define FRAMCTL_ACCESS_TIME_CYCLES_2 NWAITS_2 56 #define FRAMCTL_ACCESS_TIME_CYCLES_3 NWAITS_3 57 #define FRAMCTL_ACCESS_TIME_CYCLES_4 NWAITS_4 58 #define FRAMCTL_ACCESS_TIME_CYCLES_5 NWAITS_5 59 #define FRAMCTL_ACCESS_TIME_CYCLES_6 NWAITS_6 60 #define FRAMCTL_ACCESS_TIME_CYCLES_7 NWAITS_7 68 #define FRAMCTL_DELAY_FROM_LPM_ENABLE 0x00 69 #define FRAMCTL_DELAY_FROM_LPM_DISABLE 0x02 90 uint16_t numberOfBytes);
105 uint16_t numberOfWords);
277 #endif // __MSP430WARE_FRAMCTL_H__ void FRAMCtl_disableInterrupt(uint16_t interruptMask)
Disables selected FRAMCtl interrupt sources.
Definition: framctl.c:170
void FRAMCtl_configureWaitStateControl(uint8_t waitState)
Configures the access time of the FRAMCtl module.
Definition: framctl.c:181
void FRAMCtl_write16(uint16_t *dataPtr, uint16_t *framPtr, uint16_t numberOfWords)
Write data into the fram memory in word format.
Definition: framctl.c:55
void FRAMCtl_fillMemory32(uint32_t value, uint32_t *framPtr, uint16_t count)
Write data into the fram memory in long format, pass by value.
Definition: framctl.c:119
void FRAMCtl_enableInterrupt(uint16_t interruptMask)
Enables selected FRAMCtl interrupt sources.
Definition: framctl.c:153
void FRAMCtl_write32(uint32_t *dataPtr, uint32_t *framPtr, uint16_t count)
Write data into the fram memory in long format, pass by reference.
Definition: framctl.c:87
uint8_t FRAMCtl_getInterruptStatus(uint16_t interruptFlagMask)
Returns the status of the selected FRAMCtl interrupt flags.
Definition: framctl.c:165
void FRAMCtl_write8(uint8_t *dataPtr, uint8_t *framPtr, uint16_t numberOfBytes)
Write data into the fram memory in byte format.
Definition: framctl.c:21
void FRAMCtl_delayPowerUpFromLPM(uint8_t delayStatus)
Configures when the FRAMCtl module will power up after LPM exit.
Definition: framctl.c:189