Functions | |
void | FRAMCtl_write8 (uint8_t *dataPtr, uint8_t *framPtr, uint16_t numberOfBytes) |
Write data into the fram memory in byte format. More... | |
void | FRAMCtl_write16 (uint16_t *dataPtr, uint16_t *framPtr, uint16_t numberOfWords) |
Write data into the fram memory in word format. More... | |
void | FRAMCtl_write32 (uint32_t *dataPtr, uint32_t *framPtr, uint16_t count) |
Write data into the fram memory in long format, pass by reference. More... | |
void | FRAMCtl_memoryFill32 (uint32_t value, uint32_t *framPtr, uint16_t count) |
Write data into the fram memory in long format, pass by value. More... | |
void | FRAMCtl_enableInterrupt (uint8_t interruptMask) |
Enables selected FRAMCtl interrupt sources. More... | |
uint8_t | FRAMCtl_getInterruptStatus (uint16_t interruptFlagMask) |
Returns the status of the selected FRAMCtl interrupt flags. More... | |
void | FRAMCtl_disableInterrupt (uint16_t interruptMask) |
Disables selected FRAMCtl interrupt sources. More... | |
void | FRAMCtl_configureWaitStateControl (uint8_t manualWaitState, uint8_t accessTime, uint8_t prechargeTime) |
Configures the wait state control of the FRAMCtl module Configures the wait state control of the FRAM module. If using the FRAMCtl_AUTO_MODE the values for accessTime and prechargeTime do not matter. More... | |
void FRAMCtl_configureWaitStateControl | ( | uint8_t | manualWaitState, |
uint8_t | accessTime, | ||
uint8_t | prechargeTime | ||
) |
Configures the wait state control of the FRAMCtl module Configures the wait state control of the FRAM module. If using the FRAMCtl_AUTO_MODE the values for accessTime and prechargeTime do not matter.
manualWaitState | chooses if the wait state control is manual or automatic Valid values are:
|
accessTime | Valid values are:
|
prechargeTime |
void FRAMCtl_disableInterrupt | ( | uint16_t | interruptMask | ) |
Disables selected FRAMCtl interrupt sources.
If header file contains legacy definitions: FRAMCtl_PUC_ON_DOUBLE_BIT_ERROR
interruptMask | is the bit mask of the memory buffer interrupt sources to be disabled. Mask value is the logical OR of any of the following:
|
void FRAMCtl_enableInterrupt | ( | uint8_t | interruptMask | ) |
Enables selected FRAMCtl interrupt sources.
If header file contains legacy definitions: FRAMCtl_PUC_ON_DOUBLE_BIT_ERROR
interruptMask | is the bit mask of the memory buffer interrupt sources to be disabled. Mask value is the logical OR of any of the following:
|
uint8_t FRAMCtl_getInterruptStatus | ( | uint16_t | interruptFlagMask | ) |
Returns the status of the selected FRAMCtl interrupt flags.
If header file contains legacy definitions: FRAMCtl_SINGLE_BIT_ERROR_FLAG - Interrupt flag is set if a correctable bit error has been detected and corrected in the FRAMCtl memory error detection logic. FRAMCtl_DOUBLE_BIT_ERROR_FLAG .- Interrupt flag is set if an uncorrectable bit error has been detected in the FRAMCtl memory error detection logic.
interruptFlagMask | is a bit mask of the interrupt flags status to be returned. Mask value is the logical OR of any of the following:
|
void FRAMCtl_memoryFill32 | ( | uint32_t | value, |
uint32_t * | framPtr, | ||
uint16_t | count | ||
) |
Write data into the fram memory in long format, pass by value.
value | is the value to written to FRAMCTL memory |
framPtr | is the pointer into which to write the data |
count |
void FRAMCtl_write16 | ( | uint16_t * | dataPtr, |
uint16_t * | framPtr, | ||
uint16_t | numberOfWords | ||
) |
Write data into the fram memory in word format.
dataPtr | is the pointer to the data to be written |
framPtr | is the pointer into which to write the data |
numberOfWords |
void FRAMCtl_write32 | ( | uint32_t * | dataPtr, |
uint32_t * | framPtr, | ||
uint16_t | count | ||
) |
Write data into the fram memory in long format, pass by reference.
dataPtr | is the pointer to the data to be written |
framPtr | is the pointer into which to write the data |
count |
void FRAMCtl_write8 | ( | uint8_t * | dataPtr, |
uint8_t * | framPtr, | ||
uint16_t | numberOfBytes | ||
) |
Write data into the fram memory in byte format.
dataPtr | is the pointer to the data to be written |
framPtr | is the pointer into which to write the data |
numberOfBytes | is the number of bytes to be written |