AP29000
Connecting C166 and C500 Microcontroller to CAN
Ways of handling the SAE 81C90/91 and the CAN Module on the C167CR / C515C
Application Note
41
V 1.0, 2004-02
#define
DB3_M1 *(unsigned char*)
0xef1a
#define
DB4_M1 *(unsigned char*)
0xef1b
#define
DB5_M1 *(unsigned char*)
0xef1c
#define
DB6_M1 *(unsigned char*)
0xef1d
#define
DB7_M1 *(unsigned char*)
0xef1e
#define
MCR_M2 *(unsigned char *)
0xef20
#define ...
...
Extract from the include file for the C515C:
/* Register
Address
*/
#define
CR
*(unsigned char*)
0xf700
#define
SR
*(unsigned char*)
0xf701
#define
IR
*(unsigned char*)
0xf702
#define
BTR0
*(unsigned char*)
0xf704
#define
BTR1
*(unsigned char*)
0xf705
#define
GMS0
*(unsigned char*)
0xf706
#define
GMS1
*(unsigned char*)
0xf707
#define
UGML0
*(unsigned char*)
0xf708
#define
UGML1
*(unsigned char*)
0xf709
#define
LGML0
*(unsigned char*)
0xf70a
#define
LGML1
*(unsigned char*)
0xf70b
#define
UMLM0
*(unsigned char*)
0xf70c
#define
UMLM1
*(unsigned char*)
0xf70d
#define
LMLM0
*(unsigned char*)
0xf70e
#define
LMLM1
*(unsigned char*)
0xf70f
#define
MCR0_M1 *(unsigned char*)
0xf710
#define
MCR1_M1 *(unsigned char*)
0xf711
#define
UAR0_M1 *(unsigned char*)
0xf712
#define
UAR1_M1 *(unsigned char*)
0xf713
#define
LAR0_M1 *(unsigned char*)
0xf714
#define
LAR1_M1 *(unsigned char*)
0xf715
#define
MCFG_M1 *(unsigned char*)
0xf716
#define
DB0_M1 *(unsigned char*)
0xf717
#define
DB1_M1 *(unsigned char*)
0xf718
#define
DB2_M1 *(unsigned char*)
0xf719
#define
DB3_M1 *(unsigned char*)
0xf71a
#define
DB4_M1 *(unsigned char*)
0xf71b
#define
DB5_M1 *(unsigned char*)
0xf71c
#define
DB6_M1 *(unsigned char*)
0xf71d
#define
DB7_M1 *(unsigned char*)
0xf71e
#define
MCR0_M2 *(unsigned char*)
0xf720
#define ...
...