7 #ifndef __MSP430WARE_FRAMCTL_A_H__ 8 #define __MSP430WARE_FRAMCTL_A_H__ 10 #include "inc/hw_memmap.h" 12 #ifdef __MSP430_HAS_FRCTL_A__ 32 #define FRAMCTL_A_PUC_ON_UNCORRECTABLE_BIT UBDRSTEN 33 #define FRAMCTL_A_UNCORRECTABLE_BIT_INTERRUPT UBDIE 34 #define FRAMCTL_A_CORRECTABLE_BIT_INTERRUPT CBDIE 35 #define FRAMCTL_A_ACCESS_TIME_ERROR_INTERRUPT ACCTEIE 36 #define FRAMCTL_A_WRITE_PROTECTION_INTERRUPT WPIE 46 #define FRAMCTL_A_ACCESS_TIME_ERROR_FLAG ACCTEIFG 47 #define FRAMCTL_A_UNCORRECTABLE_BIT_FLAG UBDIFG 48 #define FRAMCTL_A_CORRECTABLE_BIT_FLAG CBDIFG 49 #define FRAMCTL_A_WRITE_PROTECTION_FLAG WPIFG 57 #define FRAMCTL_A_ACCESS_TIME_CYCLES_0 NWAITS_0 58 #define FRAMCTL_A_ACCESS_TIME_CYCLES_1 NWAITS_1 59 #define FRAMCTL_A_ACCESS_TIME_CYCLES_2 NWAITS_2 60 #define FRAMCTL_A_ACCESS_TIME_CYCLES_3 NWAITS_3 61 #define FRAMCTL_A_ACCESS_TIME_CYCLES_4 NWAITS_4 62 #define FRAMCTL_A_ACCESS_TIME_CYCLES_5 NWAITS_5 63 #define FRAMCTL_A_ACCESS_TIME_CYCLES_6 NWAITS_6 64 #define FRAMCTL_A_ACCESS_TIME_CYCLES_7 NWAITS_7 65 #define FRAMCTL_A_ACCESS_TIME_CYCLES_8 NWAITS_8 66 #define FRAMCTL_A_ACCESS_TIME_CYCLES_9 NWAITS_9 67 #define FRAMCTL_A_ACCESS_TIME_CYCLES_10 NWAITS_10 68 #define FRAMCTL_A_ACCESS_TIME_CYCLES_11 NWAITS_11 69 #define FRAMCTL_A_ACCESS_TIME_CYCLES_12 NWAITS_12 70 #define FRAMCTL_A_ACCESS_TIME_CYCLES_13 NWAITS_13 71 #define FRAMCTL_A_ACCESS_TIME_CYCLES_14 NWAITS_14 72 #define FRAMCTL_A_ACCESS_TIME_CYCLES_15 NWAITS_15 80 #define FRAMCTL_A_DELAY_FROM_LPM_ENABLE 0x00 81 #define FRAMCTL_A_DELAY_FROM_LPM_DISABLE FRPWR 102 uint16_t numberOfBytes);
117 uint16_t numberOfWords);
365 #endif // __MSP430WARE_FRAMCTL_A_H__ void FRAMCtl_A_configureWaitStateControl(uint8_t waitState)
Configures the access time of the FRAMCtl_A module.
Definition: framctl_a.c:105
void FRAMCtl_A_disableWriteProtection(void)
Disables FRAM write protection.
Definition: framctl_a.c:132
void FRAMCtl_A_write32(uint32_t *dataPtr, uint32_t *framPtr, uint16_t count)
Write data into the fram memory in long format, pass by reference.
Definition: framctl_a.c:45
void FRAMCtl_A_write8(uint8_t *dataPtr, uint8_t *framPtr, uint16_t numberOfBytes)
Write data into the fram memory in byte format.
Definition: framctl_a.c:21
void FRAMCtl_A_disableInterrupt(uint16_t interruptMask)
Disables selected FRAMCtl_A interrupt sources.
Definition: framctl_a.c:85
void FRAMCtl_A_clearInterrupt(uint16_t interruptFlagMask)
Clears selected FRAMCtl_A interrupt status flag.
Definition: framctl_a.c:95
void FRAMCtl_A_enableInterrupt(uint8_t interruptMask)
Enables selected FRAMCtl_A interrupt sources.
Definition: framctl_a.c:69
void FRAMCtl_A_delayPowerUpFromLPM(uint8_t delayStatus)
Configures when the FRAMCtl_A module will power up after LPM exit.
Definition: framctl_a.c:114
void FRAMCtl_A_fillMemory32(uint32_t value, uint32_t *framPtr, uint16_t count)
Write data into the fram memory in long format, pass by value.
Definition: framctl_a.c:56
uint8_t FRAMCtl_A_getInterruptStatus(uint16_t interruptFlagMask)
Returns the status of the selected FRAMCtl_A interrupt flags.
Definition: framctl_a.c:80
void FRAMCtl_A_enableWriteProtection(void)
Enables FRAM write protection.
Definition: framctl_a.c:125
void FRAMCtl_A_write16(uint16_t *dataPtr, uint16_t *framPtr, uint16_t numberOfWords)
Write data into the fram memory in word format.
Definition: framctl_a.c:34