enum IFlash.ACCVIFG_t |
|
Access violation interrupt flag
enum ACCVIFG_t {
ACCVIFG_OFF,
// No interrupt pending
ACCVIFG
// Interrupt pending
};
enum IFlash.BLKWRT_t |
|
Block write mode
enum BLKWRT_t {
BLKWRT_OFF,
// Block-write mode is off
BLKWRT
// Block-write mode is on
};
enum IFlash.BUSY_t |
|
Busy
enum BUSY_t {
BUSY_OFF,
// Not Busy
BUSY
// Busy
};
enum IFlash.EEIEX_t |
|
Enable Emergency Interrupt Exit
enum EEIEX_t {
EEIEX_OFF,
// Exit interrupt disabled
EEIEX
// Exit interrupt enabled
};
enum IFlash.EEI_t |
|
Enable Erase Interrupts
enum EEI_t {
EEI_OFF,
// Interrupts during segment erase disabled
EEI
// Interrupts during segment erase enabled
};
enum IFlash.EMEX_t |
|
Emergency exit
enum EMEX_t {
EMEX_OFF,
// No emergency exit
EMEX
// Emergency exit
};
enum IFlash.ERASE_t |
|
Erase
enum ERASE_t {
ERASE_OFF,
// Erase disabled
ERASE
// Erase enabled
};
enum IFlash.FAIL_t |
|
Operation failure
enum FAIL_t {
FAIL_OFF,
// No failure
FAIL
// Failure
};
enum IFlash.FN0_t |
|
Flash controller clock divider bit 0
enum FN0_t {
FN0_OFF,
// Flash controller clock divider bit 0
FN0
// Flash controller clock divider bit 0
};
enum IFlash.FN1_t |
|
Flash controller clock divider bit 1
enum FN1_t {
FN1_OFF,
// Flash controller clock divider bit 1
FN1
// Flash controller clock divider bit 1
};
enum IFlash.FN2_t |
|
Flash controller clock divider bit 2
enum FN2_t {
FN2_OFF,
// Flash controller clock divider bit 2
FN2
// Flash controller clock divider bit 2
};
enum IFlash.FN3_t |
|
Flash controller clock divider bit 3
enum FN3_t {
FN3_OFF,
// Flash controller clock divider bit 3
FN3
// Flash controller clock divider bit 3
};
enum IFlash.FN4_t |
|
Flash controller clock divider bit 4
enum FN4_t {
FN4_OFF,
// Flash controller clock divider bit 4
FN4
// Flash controller clock divider bit 4
};
enum IFlash.FN5_t |
|
Flash controller clock divider bit 5
enum FN5_t {
FN5_OFF,
// Flash controller clock divider bit 5
FN5
// Flash controller clock divider bit 5
};
enum IFlash.FSSEL_t |
|
enum FSSEL_t {
FSSEL_0,
// ACLK
FSSEL_1,
// MCLK
FSSEL_2
// SMCLK
};
enum IFlash.FWKEY_t |
|
enum FWKEY_t {
FWKEY_OFF,
FWKEY
};
enum IFlash.KEYV_t |
|
Flash security key violation
enum KEYV_t {
KEYV_OFF,
// FCTLx password was written correctly
KEYV
// FCTLx password was written incorrectly
};
enum IFlash.LOCKA_t |
|
SegmentA and Info lock
enum LOCKA_t {
LOCKA_OFF,
// Segment A unlocked and all information memory is erased during a mass erase
LOCKA
// Segment A locked and all information memory is protected from erasure during a mass erase
};
enum IFlash.LOCK_t |
|
Lock
enum LOCK_t {
LOCK_OFF,
// Unlocked
LOCK
// Locked
};
enum IFlash.MERAS_t |
|
Mass erase
enum MERAS_t {
MERAS_OFF,
// Mass erase disabled
MERAS
// Mass erase enabled
};
enum IFlash.WAIT_t |
|
Wait
enum WAIT_t {
WAIT_OFF,
// The flash memory is not ready for the next byte/word write
WAIT
// The flash memory is ready for the next byte/word write
};
enum IFlash.WRT_t |
|
Write
enum WRT_t {
WRT_OFF,
// Write mode is off
WRT
// Write mode is on
};
typedef IFlash.IPeripheralArray |
|
typedef IFlash.StringArray |
|
typedef String StringArray[];
struct IFlash.ForceSetDefaultRegister_t |
|
Force Set Default Register
metaonly struct ForceSetDefaultRegister_t {
String register;
Bool regForceSet;
};
DETAILS
Type to store if each register needs to be forced initialized
even if the register is in default state.
SEE
IFlash.getAll() // module-wide |
|
Find all peripherals of a certain type
DETAILS
The type of the peripherals returned is defined by the type of the
caller.
RETURNS
Returns an array of IPeripheral instances
IFlash.getRegisters() // module-wide |
|
Find all registers defined by the peripheral
RETURNS
Returns an array of register names
config IFlash.name // instance |
|
Specific peripheral name given by the device
DETAILS
Devices can have more than one peripheral of the same type. In such
cases, device data sheets give different names to the instances of a
same peripheral. For example, the name for a timer module could be
TimerA3, and a device that has two such timers can name them TA0
and TA1.
config IFlash.owner // instance |
|
String specifying the entity that manages the peripheral
config IFlash.uMaxFtg // instance |
|
Max Flash Timing Generator Value from Datasheet
config IFlash.uMinFtg // instance |
|
Min Flash Timing Generator Value from Datasheet