AN2343 Freescale Semiconductor / Motorola, AN2343 Datasheet - Page 33

no-image

AN2343

Manufacturer Part Number
AN2343
Description
HC908EY16 LIN Monitor
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
ey16icg.h
/****
Filename : EY16icg.h
Defines the serial internal clock generation register block as a datastructure
ICG datastructure base address (out of reset) -
EY16
Written by Ross McLuckie (R38917)
Revision history -
7/5/02
****/
#ifndef EY16ICG_H
#define EY16ICG_H
#ifndef COMMON_H
#include <common.h>
#endif
typedef union uICGCR
#define ECGS
#define ECGON
#define ICGS
#define ICGON
#define CS
#define CMON
#define CMF
#define CMIE
typedef union uICGMR
MOTOROLA
{
tU08
struct
}tICGCR;
{
tU08
struct
{
tU08 ecgs
tU08 ecgon
tU08 icgs
tU08 icgon
tU08 cs
tU08 cmon
tU08 cmf
tU08 cmie
}bit;
{
tU08 n0
tU08 n1
- Initial coding
byte;
byte;
: 0x0036
:1;
:1;
:1;
:1;
:1;
:1;
:1;
:1;
0x01
0x02
0x04
0x08
0x10
0x20
0x40
0x80
:1;
:1;
//prevent duplicated includes
//prevent duplicated includes
//transmit interrupt enable
//spi enable
//wired-OR mode
//clock phase
//clock polarity
//master mode (1), slave mode (0)
//not used
//receiver interrupt enable
//bit masks
//spi baud rate bits
//mode fault enable
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
HC908EY16 LIN Monitor
Appendix C – Header Files
AN2343/D
33

Related parts for AN2343