72 #pragma CODE_SECTION(FLASH_disablePipelineMode, "ramfuncs");
89 #pragma CODE_SECTION(FLASH_enablePipelineMode, "ramfuncs");
193 #pragma CODE_SECTION(FLASH_setActiveWaitCount, "ramfuncs");
209 #pragma CODE_SECTION(FLASH_setNumPagedReadWaitStates, "ramfuncs");
229 #pragma CODE_SECTION(FLASH_setNumRandomReadWaitStates, "ramfuncs");
249 #pragma CODE_SECTION(FLASH_setOtpWaitStates, "ramfuncs");
269 #pragma CODE_SECTION(FLASH_setPowerMode, "ramfuncs");
289 #pragma CODE_SECTION(FLASH_setStandbyWaitCount, "ramfuncs");
#define FLASH_FOTPWAIT_OTPWAIT_BITS
Defines the location of the OTPWAIT bits in the FOTPWAIT register.
void FLASH_setOtpWaitStates(FLASH_Handle flashHandle, const FLASH_NumOtpWaitStates_e numStates)
Sets the number of one-time programmable (OTP) wait states.
FLASH_3VStatus_e FLASH_get3VStatus(FLASH_Handle flashHandle)
Gets the 3V status.
#define DISABLE_PROTECTED_REGISTER_WRITE_MODE
Define to disable protected register writes.
#define FLASH_FBANKWAIT_PAGEWAIT_BITS
Defines the location of the PAGEWAIT bits in the FBANKWAIT register.
#define FLASH_FSTDBYWAIT_STDBYWAIT_BITS
Defines the location of the STDBYWAIT bits in the FSTDBYWAIT register.
void FLASH_setActiveWaitCount(FLASH_Handle flashHandle, const uint16_t count)
Sets the active wait count.
#define FLASH_FPWR_PWR_BITS
Defines the location of the PWR bits in the FPWR register.
FLASH_CounterStatus_e
Enumeration to define the counter status.
#define FLASH_FBANKWAIT_RANDWAIT_BITS
Defines the location of the RANDWAIT bits in the FBANKWAIT register.
void FLASH_disablePipelineMode(FLASH_Handle flashHandle)
Disables the pipeline mode.
volatile uint16_t FSTDBYWAIT
Flash Sleep To Standby Wait Register.
#define ENABLE_PROTECTED_REGISTER_WRITE_MODE
Define to allow protected register writes.
volatile uint16_t FACTIVEWAIT
Flash Standby to Active Wait Register.
FLASH_CounterStatus_e FLASH_getStandbyWaitStatus(FLASH_Handle flashHandle)
Gets the standby wait counter status.
void FLASH_setNumPagedReadWaitStates(FLASH_Handle flashHandle, const FLASH_NumPagedWaitStates_e numStates)
Sets the number of paged read wait states.
FLASH_NumOtpWaitStates_e
Enumeration to define the number of one-time programmable wait states.
uint16_t FLASH_getActiveWaitCount(FLASH_Handle flashHandle)
Gets the active wait count.
volatile uint16_t FBANKWAIT
Flash Read Access Wait State Register.
FLASH_CounterStatus_e FLASH_getActiveWaitStatus(FLASH_Handle flashHandle)
Gets the active wait counter status.
FLASH_Handle FLASH_init(void *pMemory, const size_t numBytes)
Initializes the flash (FLASH) handle.
FLASH_3VStatus_e
Enumeration to define the 3V status.
volatile uint16_t FOPT
Flash Option Register.
void FLASH_setPowerMode(FLASH_Handle flashHandle, const FLASH_PowerMode_e mode)
Sets the power mode.
void FLASH_enablePipelineMode(FLASH_Handle flashHandle)
Enables the pipeline mode.
volatile uint16_t FOTPWAIT
OTP Read Access Wait State Register.
#define FLASH_FSTATUS_STDBYWAITS_BITS
Defines the location of the STDBYWAITS bits in the FSTATUS register.
volatile uint16_t FSTATUS
Status Register.
FLASH_NumPagedWaitStates_e
Enumeration to define the number of paged wait states.
#define FLASH_FSTATUS_ACTIVEWAITS_BITS
Defines the location of the ACTIVEWAITS bits in the FSTATUS register.
Defines the flash (FLASH) object.
void FLASH_setStandbyWaitCount(FLASH_Handle flashHandle, const uint16_t count)
Sets the standby wait count.
volatile uint16_t FPWR
Flash Power Modes Register.
uint16_t FLASH_getStandbyWaitCount(FLASH_Handle flashHandle)
Gets the standby wait count.
#define FLASH_FOPT_ENPIPE_BITS
Defines the location of the ENPIPE bits in the FOPT register.
FLASH_NumRandomWaitStates_e
Enumeration to define the number of random wait states.
#define FLASH_FSTATUS_3VSTAT_BITS
Defines the location of the 3VSTAT bits in the FSTATUS register.
void FLASH_setNumRandomReadWaitStates(FLASH_Handle flashHandle, const FLASH_NumRandomWaitStates_e numStates)
Sets the number of random read wait states.
FLASH_PowerMode_e FLASH_getPowerMode(FLASH_Handle flashHandle)
Gets the power mode.
#define FLASH_FACTIVEWAIT_ACTIVEWAIT_BITS
Defines the location of the ACTIVEWAIT bits in the FACTIVEWAIT register.
struct _FLASH_Obj_ * FLASH_Handle
Defines the flash (FLASH) handle.
Contains public interface to various functions related to the flash (FLASH) object.
FLASH_PowerMode_e
Enumeration to define the power modes.
#define FLASH_FSTATUS_PWRS_BITS
Defines the location of the PWRS bits in the FSTATUS register.
void FLASH_clear3VStatus(FLASH_Handle flashHandle)
Clears the 3V status.