metaonly module ti.catalog.msp430.peripherals.comparator.Comparator_D

MSP430FR5xx Family Comparator_D Module

XDCscript usage meta-domain sourced in ti/catalog/msp430/peripherals/comparator/Comparator_D.xdc
var Comparator_D = xdc.useModule('ti.catalog.msp430.peripherals.comparator.Comparator_D');
module-wide constants & types
    values of type Comparator_D.CAEX_t// CAEX Bit
        const Comparator_D.CAEX// Enable CAEX bit;
 
    values of type Comparator_D.CAF_t// CAF Bit
        const Comparator_D.CAF// Enable CAF bit;
 
    values of type Comparator_D.CAIES_t// CAIES Bit
        const Comparator_D.CAIES_OFF// Rising Edge;
        const Comparator_D.CAIES// Falling Edge;
 
    values of type Comparator_D.CAIE_t// CAIE Bit
        const Comparator_D.CAIE// Enable CAIE bit;
 
    values of type Comparator_D.CAIFG_t// CAIFG Bit
 
    values of type Comparator_D.CAON_t// CAON Bit
        const Comparator_D.CAON// Enable CAON bit;
 
    values of type Comparator_D.CAPD0_t// CAPD0 Bit
 
    values of type Comparator_D.CAPD1_t// CAPD1 Bit
 
    values of type Comparator_D.CAPD2_t// CAPD2 Bit
 
    values of type Comparator_D.CAPD3_t// CAPD3 Bit
 
    values of type Comparator_D.CAPD4_t// CAPD4 Bit
 
    values of type Comparator_D.CAPD5_t// CAPD5 Bit
 
    values of type Comparator_D.CAPD6_t// CAPD6 Bit
 
    values of type Comparator_D.CAPD7_t// CAPD7 Bit
 
    values of type Comparator_D.CAREF_t// CAREF Bit
        const Comparator_D.CAREF_0// Reference Off;
        const Comparator_D.CAREF_1// 0.25 * VCC;
        const Comparator_D.CAREF_2// 0.50 * VCC;
 
    values of type Comparator_D.CARSEL_t// CARSEL Bit
 
    values of type Comparator_D.CASHORT_t// CASHORT Bit
 
    values of type Comparator_D.CDIE_t// 
 
    values of type Comparator_D.CDIFG_t// 
 
    values of type Comparator_D.CDIIE_t// 
 
    values of type Comparator_D.CDIIFG_t// 
 
    values of type Comparator_D.P2CA0_t// P2CA0 Bit
 
    values of type Comparator_D.P2CA1_t// P2CA1 Bit
 
    values of type Comparator_D.P2CA2_t// P2CA2 Bit
 
    values of type Comparator_D.P2CA3_t// P2CA3 Bit
 
    values of type Comparator_D.P2CA4_t// P2CA4 Bit
 
    var obj = new Comparator_D.CDIEALL_t// ;
 
    var obj = new Comparator_D.CDIFGALL_t// ;
 
        obj.register = String  ...
        obj.regForceSet = Bool  ...
 
        obj.registerName = String  ...
        obj.registerDescription = String  ...
        obj.isrToggleString = String  ...
        obj.priorityName = String  ...
        obj.interruptEnable = Bool  ...
        obj.interruptHandler = Bool  ...
        obj.priority = Int  ...
module-wide functions
per-instance config parameters
    var params = new Comparator_D.Params// Instance config-params object;
            CDIE: Comparator_D.CDIE_OFF,
            CDIIE: Comparator_D.CDIIE_OFF
        };
            CDIFG: Comparator_D.CDIFG_OFF,
            CDIIFG: Comparator_D.CDIIFG_OFF
        };
        params.baseAddr// Address of the peripheral's control register = UInt undefined;
            {
                register: "CDIEALL",
                regForceSet: false
            },
            {
                register: "CDIFGALL",
                regForceSet: false
            }
        ];
        params.name// Specific peripheral name given by the device = String undefined;
        params.owner// String specifying the entity that manages the peripheral = String undefined;
 
 
enum Comparator_D.CAEX_t

CAEX Bit

XDCscript usage meta-domain
values of type Comparator_D.CAEX_t
    const Comparator_D.CAEX_OFF;
    // Disable CAEX bit
    const Comparator_D.CAEX;
    // Enable CAEX bit
 
 
enum Comparator_D.CAF_t

CAF Bit

XDCscript usage meta-domain
values of type Comparator_D.CAF_t
    const Comparator_D.CAF_OFF;
    // Disable CAF bit
    const Comparator_D.CAF;
    // Enable CAF bit
 
 
enum Comparator_D.CAIES_t

CAIES Bit

XDCscript usage meta-domain
values of type Comparator_D.CAIES_t
    const Comparator_D.CAIES_OFF;
    // Rising Edge
    const Comparator_D.CAIES;
    // Falling Edge
 
 
enum Comparator_D.CAIE_t

CAIE Bit

XDCscript usage meta-domain
values of type Comparator_D.CAIE_t
    const Comparator_D.CAIE_OFF;
    // Disable CAIE bit
    const Comparator_D.CAIE;
    // Enable CAIE bit
 
 
enum Comparator_D.CAIFG_t

CAIFG Bit

XDCscript usage meta-domain
values of type Comparator_D.CAIFG_t
    const Comparator_D.CAIFG_OFF;
    // Disable CAIFG bit
    const Comparator_D.CAIFG;
    // Enable CAIFG bit
 
 
enum Comparator_D.CAON_t

CAON Bit

XDCscript usage meta-domain
values of type Comparator_D.CAON_t
    const Comparator_D.CAON_OFF;
    // Disable CAON bit
    const Comparator_D.CAON;
    // Enable CAON bit
 
 
enum Comparator_D.CAPD0_t

CAPD0 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD0_t
    const Comparator_D.CAPD0_OFF;
    // Disable CAPD0 bit
    const Comparator_D.CAPD0;
    // Enable CAPD0 bit
 
 
enum Comparator_D.CAPD1_t

CAPD1 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD1_t
    const Comparator_D.CAPD1_OFF;
    // Disable CAPD1 bit
    const Comparator_D.CAPD1;
    // Enable CAPD1 bit
 
 
enum Comparator_D.CAPD2_t

CAPD2 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD2_t
    const Comparator_D.CAPD2_OFF;
    // Disable CAPD2 bit
    const Comparator_D.CAPD2;
    // Enable CAPD2 bit
 
 
enum Comparator_D.CAPD3_t

CAPD3 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD3_t
    const Comparator_D.CAPD3_OFF;
    // Disable CAPD3 bit
    const Comparator_D.CAPD3;
    // Enable CAPD3 bit
 
 
enum Comparator_D.CAPD4_t

CAPD4 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD4_t
    const Comparator_D.CAPD4_OFF;
    // Disable CAPD4 bit
    const Comparator_D.CAPD4;
    // Enable CAPD4 bit
 
 
enum Comparator_D.CAPD5_t

CAPD5 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD5_t
    const Comparator_D.CAPD5_OFF;
    // Disable CAPD5 bit
    const Comparator_D.CAPD5;
    // Enable CAPD5 bit
 
 
enum Comparator_D.CAPD6_t

CAPD6 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD6_t
    const Comparator_D.CAPD6_OFF;
    // Disable CAPD6 bit
    const Comparator_D.CAPD6;
    // Enable CAPD6 bit
 
 
enum Comparator_D.CAPD7_t

CAPD7 Bit

XDCscript usage meta-domain
values of type Comparator_D.CAPD7_t
    const Comparator_D.CAPD7_OFF;
    // Disable CAPD7 bit
    const Comparator_D.CAPD7;
    // Enable CAPD7 bit
 
 
enum Comparator_D.CAREF_t

CAREF Bit

XDCscript usage meta-domain
values of type Comparator_D.CAREF_t
    const Comparator_D.CAREF_0;
    // Reference Off
    const Comparator_D.CAREF_1;
    // 0.25 * VCC
    const Comparator_D.CAREF_2;
    // 0.50 * VCC
    const Comparator_D.CAREF_3;
    // Diode Reference
 
 
enum Comparator_D.CARSEL_t

CARSEL Bit

XDCscript usage meta-domain
values of type Comparator_D.CARSEL_t
    const Comparator_D.CARSEL_OFF;
    // Disable CARSEL bit
    const Comparator_D.CARSEL;
    // Enable CARSEL bit
 
 
enum Comparator_D.CASHORT_t

CASHORT Bit

XDCscript usage meta-domain
values of type Comparator_D.CASHORT_t
    const Comparator_D.CASHORT_OFF;
    // Disable CASHORT bit
    const Comparator_D.CASHORT;
    // Enable CASHORT bit
 
 
enum Comparator_D.CDIE_t
XDCscript usage meta-domain
values of type Comparator_D.CDIE_t
    const Comparator_D.CDIE_OFF;
    // Interrupt not enabled
    const Comparator_D.CDIE;
    // Interrupt enabled
 
 
enum Comparator_D.CDIFG_t
XDCscript usage meta-domain
values of type Comparator_D.CDIFG_t
    const Comparator_D.CDIFG_OFF;
    // No interrupt pending
    const Comparator_D.CDIFG;
    // Interrupt pending
 
 
enum Comparator_D.CDIIE_t
XDCscript usage meta-domain
values of type Comparator_D.CDIIE_t
    const Comparator_D.CDIIE_OFF;
    // Interrupt not enabled inverted polarity
    const Comparator_D.CDIIE;
    // Interrupt enabled inverted polarity
 
 
enum Comparator_D.CDIIFG_t
XDCscript usage meta-domain
values of type Comparator_D.CDIIFG_t
    const Comparator_D.CDIIFG_OFF;
    // No inverted interrupt pending
    const Comparator_D.CDIIFG;
    // Inverted interrupt pending
 
 
enum Comparator_D.P2CA0_t

P2CA0 Bit

XDCscript usage meta-domain
values of type Comparator_D.P2CA0_t
    const Comparator_D.P2CA0_OFF;
    // Disable P2CA0 bit
    const Comparator_D.P2CA0;
    // Enable P2CA0 bit
 
 
enum Comparator_D.P2CA1_t

P2CA1 Bit

XDCscript usage meta-domain
values of type Comparator_D.P2CA1_t
    const Comparator_D.P2CA1_OFF;
    // Disable P2CA1 bit
    const Comparator_D.P2CA1;
    // Enable P2CA1 bit
 
 
enum Comparator_D.P2CA2_t

P2CA2 Bit

XDCscript usage meta-domain
values of type Comparator_D.P2CA2_t
    const Comparator_D.P2CA2_OFF;
    // Disable P2CA2 bit
    const Comparator_D.P2CA2;
    // Enable P2CA2 bit
 
 
enum Comparator_D.P2CA3_t

P2CA3 Bit

XDCscript usage meta-domain
values of type Comparator_D.P2CA3_t
    const Comparator_D.P2CA3_OFF;
    // Disable P2CA3 bit
    const Comparator_D.P2CA3;
    // Enable P2CA3 bit
 
 
enum Comparator_D.P2CA4_t

P2CA4 Bit

XDCscript usage meta-domain
values of type Comparator_D.P2CA4_t
    const Comparator_D.P2CA4_OFF;
    // Disable P2CA4 bit
    const Comparator_D.P2CA4;
    // Enable P2CA4 bit
 
 
struct Comparator_D.CDIEALL_t
XDCscript usage meta-domain
var obj = new Comparator_D.CDIEALL_t;
 
    obj.CDIE = Comparator_D.CDIE_t  ...
    // Comparator D interrupt enable. This bit enables the CDIFG interrupt for comparator mode. 0 Interrupt disabled 1 Interrupt enabled
    obj.CDIIE = Comparator_D.CDIIE_t  ...
    // Comparator D interrupt enable inverted polarity. This bit enables the CDIIFG interrupt for comparator mode. 0 Interrupt disabled 1 Interrupt enabled
 
 
struct Comparator_D.CDIFGALL_t
XDCscript usage meta-domain
var obj = new Comparator_D.CDIFGALL_t;
 
    obj.CDIFG = Comparator_D.CDIFG_t  ...
    // Comparator D interrupt flag. 0 No interrupt pending 1 Interrupt pending
    obj.CDIIFG = Comparator_D.CDIIFG_t  ...
    // Comparator D interrupt flag. 0 No inverted interrupt pending 1 Inverted interrupt pending
 
 
struct Comparator_D.ForceSetDefaultRegister_t

Force Set Default Register

XDCscript usage meta-domain
var obj = new Comparator_D.ForceSetDefaultRegister_t;
 
    obj.register = String  ...
    obj.regForceSet = Bool  ...
 
DETAILS
Type to store if each register needs to be forced initialized even if the register is in default state.
SEE
 
struct Comparator_D.regIntVect_t

Interrupt vector description

XDCscript usage meta-domain
var obj = new Comparator_D.regIntVect_t;
 
    obj.registerName = String  ...
    obj.registerDescription = String  ...
    obj.isrToggleString = String  ...
    obj.priorityName = String  ...
    obj.interruptEnable = Bool  ...
    obj.interruptHandler = Bool  ...
    obj.priority = Int  ...
 
DETAILS
Type to describe a single interrupt vector pin and all its possible configurations.
SEE
 
Comparator_D.getAll()  // module-wide

Find all peripherals of a certain type

XDCscript usage meta-domain
Comparator_D.getAll() returns IPeripheral.Instance[]
 
DETAILS
The type of the peripherals returned is defined by the type of the caller.
RETURNS
Returns an array of IPeripheral instances
 
Comparator_D.getRegisters()  // module-wide

Find all registers defined by the peripheral

XDCscript usage meta-domain
Comparator_D.getRegisters() returns String[]
 
RETURNS
Returns an array of register names
Instance Config Parameters

XDCscript usage meta-domain
var params = new Comparator_D.Params;
// Instance config-params object
    params.CDIEALL = Comparator_D.CDIEALL_t {
    // All the Interrupt Enables in Comparator_D
        CDIE: Comparator_D.CDIE_OFF,
        CDIIE: Comparator_D.CDIIE_OFF
    };
    params.CDIFGALL = Comparator_D.CDIFGALL_t {
    // All the Interrupt Flags in Comparator_D
        CDIFG: Comparator_D.CDIFG_OFF,
        CDIIFG: Comparator_D.CDIIFG_OFF
    };
    params.baseAddr = UInt undefined;
    // Address of the peripheral's control register
    params.forceSetDefaultRegister = Comparator_D.ForceSetDefaultRegister_t[] [
    // Determine if each Register needs to be forced set or not
        {
            register: "CDIEALL",
            regForceSet: false
        },
        {
            register: "CDIFGALL",
            regForceSet: false
        }
    ];
    params.interruptSource = Comparator_D.regIntVect_t[2] undefined;
    // Comparator_D has own interrupt enables thus interruptSource is defined here
    params.name = String undefined;
    // Specific peripheral name given by the device
    params.owner = String undefined;
    // String specifying the entity that manages the peripheral
 
config Comparator_D.CDIEALL  // instance

All the Interrupt Enables in Comparator_D

XDCscript usage meta-domain
var params = new Comparator_D.Params;
  ...
params.CDIEALL = Comparator_D.CDIEALL_t {
    CDIE: Comparator_D.CDIE_OFF,
    CDIIE: Comparator_D.CDIIE_OFF
};
 
 
config Comparator_D.CDIFGALL  // instance

All the Interrupt Flags in Comparator_D

XDCscript usage meta-domain
var params = new Comparator_D.Params;
  ...
params.CDIFGALL = Comparator_D.CDIFGALL_t {
    CDIFG: Comparator_D.CDIFG_OFF,
    CDIIFG: Comparator_D.CDIIFG_OFF
};
 
 
config Comparator_D.baseAddr  // instance

Address of the peripheral's control register

XDCscript usage meta-domain
var params = new Comparator_D.Params;
  ...
params.baseAddr = UInt undefined;
 
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 Comparator_D.forceSetDefaultRegister  // instance

Determine if each Register needs to be forced set or not

XDCscript usage meta-domain
var params = new Comparator_D.Params;
  ...
const params.forceSetDefaultRegister = Comparator_D.ForceSetDefaultRegister_t[] [
    {
        register: "CDIEALL",
        regForceSet: false
    },
    {
        register: "CDIFGALL",
        regForceSet: false
    }
];
 
 
config Comparator_D.interruptSource  // instance

Comparator_D has own interrupt enables thus interruptSource is defined here

XDCscript usage meta-domain
var params = new Comparator_D.Params;
  ...
params.interruptSource = Comparator_D.regIntVect_t[2] undefined;
 
 
config Comparator_D.name  // instance

Specific peripheral name given by the device

XDCscript usage meta-domain
var params = new Comparator_D.Params;
  ...
params.name = String undefined;
 
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 Comparator_D.owner  // instance

String specifying the entity that manages the peripheral

XDCscript usage meta-domain
var params = new Comparator_D.Params;
  ...
params.owner = String undefined;
 
generated on Tue, 16 Oct 2012 23:18:01 GMT