AN2400 Freescale Semiconductor / Motorola, AN2400 Datasheet - Page 47

no-image

AN2400

Manufacturer Part Number
AN2400
Description
HCS12 NVM Guidelines
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Appendix A ‘C’ Variable Definitions
#define PASS 0u
#define FAIL 1u
#define REG_BASE 0x0000
#define BLANK
#define ACCERR
#define PVIOL
#define CCIF
#define CBEIF
#define ERASE_VERIFY
#define PROG
#define ERASE
#define MASS_ERASE
#define MODIFY
typedef unsigned char
typedef unsigned short
typedef signed char
typedef signed short
typedef union
{
}tFSTAT;
typedef union
{
}tFCMD;
volatile tFSTAT
volatile tFCMD
volatile tFSTAT
volatile tFCMD
MOTOROLA
UINT8
struct
{
}bit;
UINT8
struct
{
}bit;
UINT8
UINT8 blank
UINT8
UINT8 accerr
UINT8 pviol
UINT8 ccif
UINT8 cbeif
UINT8
byte;
byte;
Freescale Semiconductor, Inc.
For More Information On This Product,
0x04
0x10
0x20
0x40
0x80
0x05
0x20
0x40
0x41
0x60
UINT8;
UINT16;
INT8;
INT16;
:2;
:1;
:1;
:1;
:1;
:1;
:1;
:8;
FSTAT
FCMD
ESTAT
ECMD
Go to: www.freescale.com
HCS12 NVM Guidelines
@(REG_BASE + 0x105);
@(REG_BASE + 0x106);
@(REG_BASE + 0x115);
@(REG_BASE + 0x116);
/*command buffer empty interrupt flag */
/*command complete interrupt flag */
/*protection violation flag */
/*function return values */
/*MCU register variables */
/*EEPROM status register */
/*register base address */
/*FSTAT/ESTAT bit masks */
/*Flash status register */
/*EEPROM command buffer */
/*Flash command buffer */
Appendix A ‘C’ Variable Definitions
/*MCU register types */
/*FCMD/ECMD commands*/
/*blank verify flag */
/*access error flag */
/*bitfield not used */
/*basic types */
/*not used */
/*not used */
AN2400/D
47

Related parts for AN2400