Macros | Typedefs | Functions
Devices430X.h File Reference

Detailed Description

Device Function Prototypes and Definitions for FLASH programming.

Definition in file Devices430X.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __BYTEWORD__
 
#define TRUE   1
 
#define FALSE   0
 
#define ERASE_GLOB   0xA50E
 Constant for flash erase: main & info of ALL mem arrays. More...
 
#define ERASE_ALLMAIN   0xA50C
 Constant for flash erase: main of ALL mem arrays. More...
 
#define ERASE_MASS   0xA506
 Constant for flash erase: main & info of SELECTED mem arrays. More...
 
#define ERASE_MAIN   0xA504
 Constant for flash erase: main of SELECTED mem arrays. More...
 
#define ERASE_SGMT   0xA502
 Constant for flash erase: SELECTED segment. More...
 

Typedefs

typedef unsigned int word
 
typedef unsigned char byte
 
typedef unsigned char bool
 

Functions

void SetDevice (word wDeviceId)
 This function accepts a Device ID and extracts the corresponding device information from the sDeviceFeatures struct. More...
 
bool DeviceHas_TestPin (void)
 Function to check if current device has a test pin. More...
 
bool DeviceHas_CpuX (void)
 Function to check if current device has the extended CPUX. More...
 
bool DeviceHas_DataQuick (void)
 Function to check if current device supports DataQuick. More...
 
bool DeviceHas_FastFlash (void)
 Function to check if current device supports FastFlash. More...
 
bool DeviceHas_EnhVerify (void)
 Function to check if current device supports EnhVerify. More...
 
bool DeviceHas_JTAG (void)
 Function to check if current device supports JTAG. More...
 
bool DeviceHas_SpyBiWire (void)
 Function to check if current device supports SpyBiWire. More...
 
word Device_RamStart (void)
 This function returns the start address of the device's RAM. More...
 
word Device_RamEnd (void)
 This function returns the end address of the device's RAM. More...
 
word Device_MainStart (void)
 This function returns the start address of the device's main memory. More...
 

Macro Definition Documentation

#define ERASE_ALLMAIN   0xA50C

Constant for flash erase: main of ALL mem arrays.

Definition at line 74 of file Devices430X.h.

#define ERASE_GLOB   0xA50E

Constant for flash erase: main & info of ALL mem arrays.

Definition at line 72 of file Devices430X.h.

#define ERASE_MAIN   0xA504

Constant for flash erase: main of SELECTED mem arrays.

Definition at line 78 of file Devices430X.h.

#define ERASE_MASS   0xA506

Constant for flash erase: main & info of SELECTED mem arrays.

Definition at line 76 of file Devices430X.h.

#define ERASE_SGMT   0xA502

Constant for flash erase: SELECTED segment.

Definition at line 80 of file Devices430X.h.

Function Documentation

word Device_MainStart ( void  )

This function returns the start address of the device's main memory.

Returns
word Start address of the target device's main memory

Definition at line 213 of file Devices430X.c.

word Device_RamEnd ( void  )

This function returns the end address of the device's RAM.

Returns
word End address of the target device's RAM memory

Definition at line 205 of file Devices430X.c.

word Device_RamStart ( void  )

This function returns the start address of the device's RAM.

Returns
word Start address of the target device's RAM memory

Definition at line 198 of file Devices430X.c.

bool DeviceHas_CpuX ( void  )

Function to check if current device has the extended CPUX.

Returns
bool True = feature available, False = feature not available

Definition at line 156 of file Devices430X.c.

bool DeviceHas_DataQuick ( void  )

Function to check if current device supports DataQuick.

Returns
bool True = feature available, False = feature not available

Definition at line 163 of file Devices430X.c.

bool DeviceHas_EnhVerify ( void  )

Function to check if current device supports EnhVerify.

Returns
bool True = feature available, False = feature not available

Definition at line 177 of file Devices430X.c.

bool DeviceHas_FastFlash ( void  )

Function to check if current device supports FastFlash.

Returns
bool True = feature available, False = feature not available

Definition at line 170 of file Devices430X.c.

bool DeviceHas_JTAG ( void  )

Function to check if current device supports JTAG.

Returns
bool True = feature available, False = feature not available

Definition at line 184 of file Devices430X.c.

bool DeviceHas_SpyBiWire ( void  )

Function to check if current device supports SpyBiWire.

Returns
bool True = feature available, False = feature not available

Definition at line 191 of file Devices430X.c.

bool DeviceHas_TestPin ( void  )

Function to check if current device has a test pin.

Returns
bool True = feature available, False = feature not available

Definition at line 149 of file Devices430X.c.

void SetDevice ( word  wDeviceId)

This function accepts a Device ID and extracts the corresponding device information from the sDeviceFeatures struct.

Parameters
[in]wDeviceIdDevice ID (determined at runtime)

Definition at line 136 of file Devices430X.c.


Copyright 2016, Texas Instruments Incorporated