metaonly interface ti.catalog.msp430.peripherals.gpio.IGPIO

MSP430 General Purpose Input Output Ports

XDCspec summary sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly interface IGPIO {  ...
instance:  ...
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
 
metaonly interface IGPIO inherits IPeripheral {
module-wide constants & types
        BIT0_OFF,
        BIT0
    };
    enum Bit1_t//  {
        BIT1_OFF,
        BIT1
    };
    enum Bit2_t//  {
        BIT2_OFF,
        BIT2
    };
    enum Bit3_t//  {
        BIT3_OFF,
        BIT3
    };
    enum Bit4_t//  {
        BIT4_OFF,
        BIT4
    };
    enum Bit5_t//  {
        BIT5_OFF,
        BIT5
    };
    enum Bit6_t//  {
        BIT6_OFF,
        BIT6
    };
    enum Bit7_t//  {
        BIT7_OFF,
        BIT7
    };
    typedef String StringArray// [];
    };
    };
    };
    };
    };
    };
    };
    };
module-wide functions
 
instance:
per-instance config parameters
per-instance functions
}
enum IGPIO.Bit0_t

GPIO Bit 0 Definitions

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit0_t {
    BIT0_OFF,
    BIT0
};
enum IGPIO.Bit1_t
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit1_t {
    BIT1_OFF,
    BIT1
};
enum IGPIO.Bit2_t
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit2_t {
    BIT2_OFF,
    BIT2
};
enum IGPIO.Bit3_t
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit3_t {
    BIT3_OFF,
    BIT3
};
enum IGPIO.Bit4_t
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit4_t {
    BIT4_OFF,
    BIT4
};
enum IGPIO.Bit5_t
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit5_t {
    BIT5_OFF,
    BIT5
};
enum IGPIO.Bit6_t
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit6_t {
    BIT6_OFF,
    BIT6
};
enum IGPIO.Bit7_t
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
enum Bit7_t {
    BIT7_OFF,
    BIT7
};
typedef IGPIO.IPeripheralArray
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
typedef IPeripheral.Instance IPeripheralArray[];
typedef IGPIO.StringArray
XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
typedef String StringArray[];
struct IGPIO.GpioBits8PxDir_t

Generic GPIO 8-bit PxDIR register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxDir_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Select Direction Bit 0 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    IGPIO.Bit1_t Bit1;
    // GPIO Select Direction Bit 1 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    IGPIO.Bit2_t Bit2;
    // GPIO Select Direction Bit 2 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    IGPIO.Bit3_t Bit3;
    // GPIO Select Direction Bit 3 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    IGPIO.Bit4_t Bit4;
    // GPIO Select Direction Bit 4 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    IGPIO.Bit5_t Bit5;
    // GPIO Select Direction Bit 5 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    IGPIO.Bit6_t Bit6;
    // GPIO Select Direction Bit 6 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    IGPIO.Bit7_t Bit7;
    // GPIO Select Direction Bit 7 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
};
SEE
struct IGPIO.GpioBits8PxIe_t

Generic GPIO 8-bit PxIE register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxIe_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Interrupt Enable Bit 0 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    IGPIO.Bit1_t Bit1;
    // GPIO Interrupt Enable Bit 1 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    IGPIO.Bit2_t Bit2;
    // GPIO Interrupt Enable Bit 2 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    IGPIO.Bit3_t Bit3;
    // GPIO Interrupt Enable Bit 3 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    IGPIO.Bit4_t Bit4;
    // GPIO Interrupt Enable Bit 4 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    IGPIO.Bit5_t Bit5;
    // GPIO Interrupt Enable Bit 5 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    IGPIO.Bit6_t Bit6;
    // GPIO Interrupt Enable Bit 6 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    IGPIO.Bit7_t Bit7;
    // GPIO Interrupt Enable Bit 7 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
};
SEE
struct IGPIO.GpioBits8PxIes_t

Generic GPIO 8-bit PxIES register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxIes_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Select Interrupt Edge Bit 0 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    IGPIO.Bit1_t Bit1;
    // GPIO Select Interrupt Edge Bit 1 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    IGPIO.Bit2_t Bit2;
    // GPIO Select Interrupt Edge Bit 2 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    IGPIO.Bit3_t Bit3;
    // GPIO Select Interrupt Edge Bit 3 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    IGPIO.Bit4_t Bit4;
    // GPIO Select Interrupt Edge Bit 4 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    IGPIO.Bit5_t Bit5;
    // GPIO Select Interrupt Edge Bit 5 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    IGPIO.Bit6_t Bit6;
    // GPIO Select Interrupt Edge Bit 6 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    IGPIO.Bit7_t Bit7;
    // GPIO Select Interrupt Edge Bit 7 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
};
SEE
struct IGPIO.GpioBits8PxIfg_t

Generic GPIO 8-bit PxIFG register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxIfg_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Interrupt Flag Bit 0 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    IGPIO.Bit1_t Bit1;
    // GPIO Interrupt Flag Bit 1 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    IGPIO.Bit2_t Bit2;
    // GPIO Interrupt Flag Bit 2 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    IGPIO.Bit3_t Bit3;
    // GPIO Interrupt Flag Bit 3 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    IGPIO.Bit4_t Bit4;
    // GPIO Interrupt Flag Bit 4 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    IGPIO.Bit5_t Bit5;
    // GPIO Interrupt Flag Bit 5 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    IGPIO.Bit6_t Bit6;
    // GPIO Interrupt Flag Bit 6 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    IGPIO.Bit7_t Bit7;
    // GPIO Interrupt Flag Bit 7 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
};
SEE
struct IGPIO.GpioBits8PxIn_t

Generic GPIO 8-bit register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxIn_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Input Signal Bit 0
    IGPIO.Bit1_t Bit1;
    // GPIO Input Signal Bit 1
    IGPIO.Bit2_t Bit2;
    // GPIO Input Signal Bit 2
    IGPIO.Bit3_t Bit3;
    // GPIO Input Signal Bit 3
    IGPIO.Bit4_t Bit4;
    // GPIO Input Signal Bit 4
    IGPIO.Bit5_t Bit5;
    // GPIO Input Signal Bit 5
    IGPIO.Bit6_t Bit6;
    // GPIO Input Signal Bit 6
    IGPIO.Bit7_t Bit7;
    // GPIO Input Signal Bit 7
};
SEE
struct IGPIO.GpioBits8PxOut_t

Generic GPIO 8-bit PxOUT register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxOut_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Output Signal Bit 0
    IGPIO.Bit1_t Bit1;
    // GPIO Output Signal Bit 1
    IGPIO.Bit2_t Bit2;
    // GPIO Output Signal Bit 2
    IGPIO.Bit3_t Bit3;
    // GPIO Output Signal Bit 3
    IGPIO.Bit4_t Bit4;
    // GPIO Output Signal Bit 4
    IGPIO.Bit5_t Bit5;
    // GPIO Output Signal Bit 5
    IGPIO.Bit6_t Bit6;
    // GPIO Output Signal Bit 6
    IGPIO.Bit7_t Bit7;
    // GPIO Output Signal Bit 7
};
SEE
struct IGPIO.GpioBits8PxRen_t

Generic GPIO 8-bit PxREN register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxRen_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Enables or Disables Pullup/Pulldown Bit 0 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    IGPIO.Bit1_t Bit1;
    // GPIO Enables or Disables Pullup/Pulldown Bit 1 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    IGPIO.Bit2_t Bit2;
    // GPIO Enables or Disables Pullup/Pulldown Bit 2 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    IGPIO.Bit3_t Bit3;
    // GPIO Enables or Disables Pullup/Pulldown Bit 3 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    IGPIO.Bit4_t Bit4;
    // GPIO Enables or Disables Pullup/Pulldown Bit 4 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    IGPIO.Bit5_t Bit5;
    // GPIO Enables or Disables Pullup/Pulldown Bit 5 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    IGPIO.Bit6_t Bit6;
    // GPIO Enables or Disables Pullup/Pulldown Bit 6 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    IGPIO.Bit7_t Bit7;
    // GPIO Enables or Disables Pullup/Pulldown Bit 7 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
};
SEE
struct IGPIO.GpioBits8PxSel_t

Generic GPIO 8-bit PxSEL register

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
metaonly struct GpioBits8PxSel_t {
    IGPIO.Bit0_t Bit0;
    // GPIO Select Pin Function Bit 0 See the device-specific data sheet to determine pin functions
    IGPIO.Bit1_t Bit1;
    // GPIO Select Pin Function Bit 1 See the device-specific data sheet to determine pin functions
    IGPIO.Bit2_t Bit2;
    // GPIO Select Pin Function Bit 2 See the device-specific data sheet to determine pin functions
    IGPIO.Bit3_t Bit3;
    // GPIO Select Pin Function Bit 3 See the device-specific data sheet to determine pin functions
    IGPIO.Bit4_t Bit4;
    // GPIO Select Pin Function Bit 4 See the device-specific data sheet to determine pin functions
    IGPIO.Bit5_t Bit5;
    // GPIO Select Pin Function Bit 5 See the device-specific data sheet to determine pin functions
    IGPIO.Bit6_t Bit6;
    // GPIO Select Pin Function Bit 6 See the device-specific data sheet to determine pin functions
    IGPIO.Bit7_t Bit7;
    // GPIO Select Pin Function Bit 7 See the device-specific data sheet to determine pin functions
};
SEE
IGPIO.addPeripheralsMap()  // module-wide

Create a map of all peripherals available on a device

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
Void addPeripheralsMap(ICpuDataSheet.Instance cds);
ARGUMENTS
cds — an xdc.platform.ICpuDataSheet instance
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.
IGPIO.getAll()  // module-wide

Find all peripherals of a certain type

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
DETAILS
The type of the peripherals returned is defined by the type of the caller.
RETURNS
Returns an array of IPeripheral instances
IGPIO.getRegisters()  // module-wide

Find all registers defined by the peripheral

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
IPeripheral.StringArray getRegisters();
RETURNS
Returns an array of register names
config IGPIO.name  // instance

Specific peripheral name given by the device

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
config String name;
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 IGPIO.owner  // instance

String specifying the entity that manages the peripheral

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
config String owner;
IGPIO.getNumberOfPorts()  // instance

Get getNumberOfPorts

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
UChar getNumberOfPorts();
IGPIO.getTotalNumberOfGPIOs()  // instance

Get getTotalNumberOfGPIOs

XDCspec declarations sourced in ti/catalog/msp430/peripherals/gpio/IGPIO.xdc
UChar getTotalNumberOfGPIOs();
generated on Fri, 28 May 2010 20:25:49 GMT