AN2262 Motorola / Freescale Semiconductor, AN2262 Datasheet - Page 46

no-image

AN2262

Manufacturer Part Number
AN2262
Description
Wireless HC08 Modem
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
AN2262/D
Bitfields
Exceptions
Short Aliases
#ifndef __hc08gp32_h
#define __hc08gp32_h
#define BIT0 0x01
#define BIT1 0x02
#define BIT2 0x04
#define BIT3 0x08
#define BIT4 0x10
#define BIT5 0x20
#define BIT6 0x40
#define BIT7 0x80
46
*/
may still try to optimize volatile bytes. The compiler should be tested
with this header file to ensure register assignments are not optimized.
Each bit is defined using the following format:
While this may result in redundant names in some cases, it will
always prevent duplicate bit names. If a bit has a descriptive name
such as FLG the descriptive name is used.
If the bit does not have a descriptive name the generic terms BIT0
through BIT7 are used.
In some cases the data book may define bits by adding a digit to the
register name. In these cases the generic BIT0 names are used
instead. For eample, DDRA_BIT0 is used instead of the redundant
DDRA_DDRA0. Short Aliases are defined to provide compatibility for
these particular cases.
Short Aliases are defined for particular cases where the customary usage
is to use short bit names. For example, it is customary to use the short
term PTA0 instead of PTA_BIT0. This header permits both usages.
REGISTERNAME_BITNAME
/* if this H file is not included, include */
Wireless HC08 Modem
MOTOROLA

Related parts for AN2262