enum IFlash.ACCVIFG_t |
|
Access violation interrupt flag
enum ACCVIFG_t {
ACCVIFG_OFF,
ACCVIFG
};
enum IFlash.BLKWRT_t |
|
Block write mode
enum BLKWRT_t {
BLKWRT_OFF,
BLKWRT
};
enum IFlash.BUSY_t |
|
Busy
enum BUSY_t {
BUSY_OFF,
BUSY
};
enum IFlash.EEIEX_t |
|
Enable Emergency Interrupt Exit
enum EEIEX_t {
EEIEX_OFF,
EEIEX
};
enum IFlash.EEI_t |
|
Enable Erase Interrupts
enum EEI_t {
EEI_OFF,
EEI
};
enum IFlash.EMEX_t |
|
Emergency exit
enum EMEX_t {
EMEX_OFF,
EMEX
};
enum IFlash.ERASE_t |
|
Erase
enum ERASE_t {
ERASE_OFF,
ERASE
};
enum IFlash.FAIL_t |
|
Operation failure
enum FAIL_t {
FAIL_OFF,
FAIL
};
enum IFlash.FN0_t |
|
Flash controller clock divider bit 0
enum FN0_t {
FN0_OFF,
FN0
};
enum IFlash.FN1_t |
|
Flash controller clock divider bit 1
enum FN1_t {
FN1_OFF,
FN1
};
enum IFlash.FN2_t |
|
Flash controller clock divider bit 2
enum FN2_t {
FN2_OFF,
FN2
};
enum IFlash.FN3_t |
|
Flash controller clock divider bit 3
enum FN3_t {
FN3_OFF,
FN3
};
enum IFlash.FN4_t |
|
Flash controller clock divider bit 4
enum FN4_t {
FN4_OFF,
FN4
};
enum IFlash.FN5_t |
|
Flash controller clock divider bit 5
enum FN5_t {
FN5_OFF,
FN5
};
enum IFlash.FSSEL_t |
|
enum FSSEL_t {
FSSEL_0,
// ACLK
FSSEL_1,
// MCLK
FSSEL_2,
// SMCLK
FSSEL_3
// SMCLK
};
enum IFlash.FWKEY_t |
|
enum FWKEY_t {
FWKEY_OFF,
FWKEY
};
enum IFlash.KEYV_t |
|
Flash security key violation
enum KEYV_t {
KEYV_OFF,
KEYV
};
enum IFlash.LOCKA_t |
|
SegmentA and Info lock
enum LOCKA_t {
LOCKA_OFF,
LOCKA
};
enum IFlash.LOCK_t |
|
Lock
enum LOCK_t {
LOCK_OFF,
LOCK
};
enum IFlash.MERAS_t |
|
Mass erase
enum MERAS_t {
MERAS_OFF,
MERAS
};
enum IFlash.WAIT_t |
|
Wait
enum WAIT_t {
WAIT_OFF,
WAIT
};
enum IFlash.WRT_t |
|
Write
enum WRT_t {
WRT_OFF,
WRT
};
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.addPeripheralsMap() // module-wide |
|
Create a map of all peripherals available on a device
ARGUMENTS
DETAILS
The config parameter
peripherals is by default undefined in an
xdc.platform.ICpuDataSheet instance. This function gathers
all instance configuration parameters that are of the type
xdc.platform.IPeripheral into the map
peripherals.
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.baseAddr // instance |
|
Address of the peripheral's control register
DETAILS
A peripheral's registers are commonly accessed through a structure
that defines the offsets of a particular register from the lowest
address mapped to a peripheral. That lowest address is specified by
this parameter.
config IFlash.intNum // instance |
|
Interrupt source number
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
Instance Creation |
|
// Create an instance-object