metaonly interface ti.catalog.msp430.peripherals.comparator.IComparator |
![](../../../../../Arrow_up.png) |
![](../../../../../Arrow_right.png) |
MSP430 IComparator interface
metaonly interface IComparator { ...
instance: ...
module-wide constants & types
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
module-wide functions
instance:
per-instance config parameters
}
enum IComparator.CAEX_t |
![](../../../../../Arrow_up.png) |
CAEX Bit
enum CAEX_t {
CAEX_OFF,
// Disable CAEX bit
CAEX
// Enable CAEX bit
};
enum IComparator.CAF_t |
![](../../../../../Arrow_up.png) |
CAF Bit
enum CAF_t {
CAF_OFF,
// Disable CAF bit
CAF
// Enable CAF bit
};
enum IComparator.CAIES_t |
![](../../../../../Arrow_up.png) |
CAIES Bit
enum CAIES_t {
CAIES_OFF,
// Rising Edge
CAIES
// Falling Edge
};
enum IComparator.CAIE_t |
![](../../../../../Arrow_up.png) |
CAIE Bit
enum CAIE_t {
CAIE_OFF,
// Disable CAIE bit
CAIE
// Enable CAIE bit
};
enum IComparator.CAIFG_t |
![](../../../../../Arrow_up.png) |
CAIFG Bit
enum CAIFG_t {
CAIFG_OFF,
// Disable CAIFG bit
CAIFG
// Enable CAIFG bit
};
enum IComparator.CAON_t |
![](../../../../../Arrow_up.png) |
CAON Bit
enum CAON_t {
CAON_OFF,
// Disable CAON bit
CAON
// Enable CAON bit
};
enum IComparator.CAPD0_t |
![](../../../../../Arrow_up.png) |
CAPD0 Bit
enum CAPD0_t {
CAPD0_OFF,
// Disable CAPD0 bit
CAPD0
// Enable CAPD0 bit
};
enum IComparator.CAPD1_t |
![](../../../../../Arrow_up.png) |
CAPD1 Bit
enum CAPD1_t {
CAPD1_OFF,
// Disable CAPD1 bit
CAPD1
// Enable CAPD1 bit
};
enum IComparator.CAPD2_t |
![](../../../../../Arrow_up.png) |
CAPD2 Bit
enum CAPD2_t {
CAPD2_OFF,
// Disable CAPD2 bit
CAPD2
// Enable CAPD2 bit
};
enum IComparator.CAPD3_t |
![](../../../../../Arrow_up.png) |
CAPD3 Bit
enum CAPD3_t {
CAPD3_OFF,
// Disable CAPD3 bit
CAPD3
// Enable CAPD3 bit
};
enum IComparator.CAPD4_t |
![](../../../../../Arrow_up.png) |
CAPD4 Bit
enum CAPD4_t {
CAPD4_OFF,
// Disable CAPD4 bit
CAPD4
// Enable CAPD4 bit
};
enum IComparator.CAPD5_t |
![](../../../../../Arrow_up.png) |
CAPD5 Bit
enum CAPD5_t {
CAPD5_OFF,
// Disable CAPD5 bit
CAPD5
// Enable CAPD5 bit
};
enum IComparator.CAPD6_t |
![](../../../../../Arrow_up.png) |
CAPD6 Bit
enum CAPD6_t {
CAPD6_OFF,
// Disable CAPD6 bit
CAPD6
// Enable CAPD6 bit
};
enum IComparator.CAPD7_t |
![](../../../../../Arrow_up.png) |
CAPD7 Bit
enum CAPD7_t {
CAPD7_OFF,
// Disable CAPD7 bit
CAPD7
// Enable CAPD7 bit
};
enum IComparator.CAREF_t |
![](../../../../../Arrow_up.png) |
CAREF Bit
enum CAREF_t {
CAREF_0,
// Reference Off
CAREF_1,
// 0.25 * VCC
CAREF_2,
// 0.50 * VCC
CAREF_3
// Diode Reference
};
enum IComparator.CARSEL_t |
![](../../../../../Arrow_up.png) |
CARSEL Bit
enum CARSEL_t {
CARSEL_OFF,
// Disable CARSEL bit
CARSEL
// Enable CARSEL bit
};
enum IComparator.CASHORT_t |
![](../../../../../Arrow_up.png) |
CASHORT Bit
enum CASHORT_t {
CASHORT_OFF,
// Disable CASHORT bit
CASHORT
// Enable CASHORT bit
};
enum IComparator.P2CA0_t |
![](../../../../../Arrow_up.png) |
P2CA0 Bit
enum P2CA0_t {
P2CA0_OFF,
// Disable P2CA0 bit
P2CA0
// Enable P2CA0 bit
};
enum IComparator.P2CA1_t |
![](../../../../../Arrow_up.png) |
P2CA1 Bit
enum P2CA1_t {
P2CA1_OFF,
// Disable P2CA1 bit
P2CA1
// Enable P2CA1 bit
};
enum IComparator.P2CA2_t |
![](../../../../../Arrow_up.png) |
P2CA2 Bit
enum P2CA2_t {
P2CA2_OFF,
// Disable P2CA2 bit
P2CA2
// Enable P2CA2 bit
};
enum IComparator.P2CA3_t |
![](../../../../../Arrow_up.png) |
P2CA3 Bit
enum P2CA3_t {
P2CA3_OFF,
// Disable P2CA3 bit
P2CA3
// Enable P2CA3 bit
};
enum IComparator.P2CA4_t |
![](../../../../../Arrow_up.png) |
P2CA4 Bit
enum P2CA4_t {
P2CA4_OFF,
// Disable P2CA4 bit
P2CA4
// Enable P2CA4 bit
};
typedef IComparator.IPeripheralArray |
![](../../../../../Arrow_up.png) |
typedef IComparator.StringArray |
![](../../../../../Arrow_up.png) |
typedef String StringArray[];
struct IComparator.ForceSetDefaultRegister_t |
![](../../../../../Arrow_up.png) |
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
IComparator.getAll() // module-wide |
![](../../../../../Arrow_up.png) |
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
IComparator.getRegisters() // module-wide |
![](../../../../../Arrow_up.png) |
Find all registers defined by the peripheral
RETURNS
Returns an array of register names
config IComparator.name // instance |
![](../../../../../Arrow_up.png) |
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 IComparator.owner // instance |
![](../../../../../Arrow_up.png) |
String specifying the entity that manages the peripheral
generated on Fri, 16 Sep 2011 21:21:58 GMT