metaonly interface ti.catalog.msp430.peripherals.watchdog.IWDT |
|
|
MSP430 Watchdog Timer Interface
metaonly interface IWDT { ...
instance: ...
module-wide constants & types
};
module-wide functions
instance:
per-instance config parameters
}
typedef IWDT.IPeripheralArray |
|
typedef IWDT.StringArray |
|
typedef String StringArray[];
struct IWDT.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
IWDT.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.
IWDT.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
IWDT.getRegisters() // module-wide |
|
Find all registers defined by the peripheral
RETURNS
Returns an array of register names
config IWDT.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 IWDT.owner // instance |
|
String specifying the entity that manages the peripheral
generated on Tue, 24 Aug 2010 15:40:49 GMT