AN2616 Freescale Semiconductor / Motorola, AN2616 Datasheet - Page 40
AN2616
Manufacturer Part Number
AN2616
Description
Getting Started with HCS08 and CodeWarrior Using C
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2616.pdf
(62 pages)
- Current page: 40 of 62
- Download datasheet (2Mb)
AN2616
Device file
(MC9S08GB60.c)
Header file
(MC9S08GB60.h)
Register and bit
definitions
40
NOTE:
This file defines ALL registers within the device. All registers are named as per
the register names in the relevant data sheet:
Where <register> is the name (in capital letters) of the register, as defined in
the relevant data book (for example, MC9S08GB/D). All registers are defined
as structure types, where the structure name is the same as the register name
with STR appended. For example:
_KBIPE is the actual register. The structures are defined in the header file.
For simplicity, the following examples will use the macro definitions of the
registers.
This file makes available the register definitions for any file that requires access
to the registers. It also maps the registers into the device’s memory map.
The header file contains macros that allow the register to be referenced without
the underscore. For example:
All registers can be referred to by their real definition, in this case “_KBIPE” or
via a macro, in this case “KBIPE”.
The header files supplied with CodeWarrior facilitate access to register bits
through structures and do not include mask-based access to the register bits.
The following example shows the definition of the DBGC register utilizing a
structure.
volatile <register>STR _<register>;
volatile KBIPESTR _KBIPE;
#define KBIPE _KBIPE
Getting Started with HCS08 and CodeWarrior Using C
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Related parts for AN2616
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola