AN2343 Freescale Semiconductor / Motorola, AN2343 Datasheet - Page 28

no-image

AN2343

Manufacturer Part Number
AN2343
Description
HC908EY16 LIN Monitor
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2343/D
Appendix C – Header Files
ey16port.h
/****
Filename : EY16port.h
Defines the port block as a datastructure
Datastructure base address (out of reset) -
EY16
Written by Ross McLuckie (R38917)
Revision history -
7/2/00
8/1/02
****/
#ifndef EY16PORT_H
#define EY16PORT_H
#ifndef COMMON_H
#include <common.h>
#endif
typedef union uPTA
#define PTA0
#define PTA1
#define PTA2
#define PTA3
#define PTA4
#define PTA5
#define PTA6
typedef union uPTB
28
{
tU08
struct
}tPTA;
{
{
tU08 pta0
tU08 pta1
tU08 pta2
tU08 pta3
tU08 pta4
tU08 pta5
tU08 pta6
tU08
}bit;
- Initial coding
- Modified for the HC908EY16 (TMcH)
byte;
: 0x0000
//prevent duplicate includes
:1;
:1;
:1;
:1;
:1;
:1;
:1;
:1;
0x01
0x02
0x04
0x08
0x10
0x20
0x40
//prevent duplicate includes
//i/o port pins
//not used
//bit masks
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
HC908EY16 LIN Monitor
MOTOROLA

Related parts for AN2343