MC9S12DT128B Device User Guide — V01.07

$0140 - $017F

 

CAN0 (Motorola Scalable CAN - MSCAN)

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

Name

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

$0146

CAN0TFLG

Read:

0

0

0

0

0

TXE2

TXE1

TXE0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0147

CAN0TIER

Read:

0

0

0

0

0

TXEIE2

TXEIE1

TXEIE0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0148

CAN0TARQ

Read:

0

0

0

0

0

ABTRQ2

ABTRQ1

ABTRQ0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0149

CAN0TAAK

Read:

0

0

0

0

0

ABTAK2

ABTAK1

ABTAK0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$014A

CAN0TBSEL

Read:

0

0

0

0

0

TX2

TX1

TX0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$014B

CAN0IDAC

Read:

0

0

IDAM1

IDAM0

0

IDHIT2

IDHIT1

IDHIT0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$014C

Reserved

Read:

0

0

0

0

0

0

0

0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$014D

Reserved

Read:

0

0

0

0

0

0

0

0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$014E

CAN0RXERR

Read:

RXERR7

RXERR6

RXERR5

RXERR4

RXERR3

RXERR2

RXERR1

RXERR0

Write:

 

 

 

 

 

 

 

 

$014F

CAN0TXERR

Read:

TXERR7

TXERR6

TXERR5

TXERR4

TXERR3

TXERR2

TXERR1

TXERR0

Write:

 

 

 

 

 

 

 

 

$0150 -

CAN0IDAR0 -

Read:

AC7

AC6

AC5

AC4

AC3

AC2

AC1

AC0

$0153

CAN0IDAR3

Write:

 

 

 

 

 

 

 

 

$0154 -

CAN0IDMR0 -

Read:

AM7

AM6

AM5

AM4

AM3

AM2

AM1

AM0

$0157

CAN0IDMR3

Write:

 

 

 

 

 

 

 

 

$0158 -

CAN0IDAR4 -

Read:

AC7

AC6

AC5

AC4

AC3

AC2

AC1

AC0

$015B

CAN0IDAR7

Write:

 

 

 

 

 

 

 

 

$015C -

CAN0IDMR4 -

Read:

AM7

AM6

AM5

AM4

AM3

AM2

AM1

AM0

$015F

CAN0IDMR7

Write:

 

 

 

 

 

 

 

 

$0160 -

CAN0RXFG

Read:

 

FOREGROUND RECEIVE BUFFER see Table 1-2

 

$016F

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0170 -

CAN0TXFG

Read:

 

FOREGROUND TRANSMIT BUFFER see Table 1-2

 

$017F

Write:

 

 

 

 

 

 

 

 

 

 

 

Table 1-2 Detailed MSCAN Foreground Receive and Transmit Buffer Layout

 

 

 

 

 

 

 

 

 

 

 

Address

Name

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

 

Extended ID

Read:

ID28

ID27

ID26

ID25

ID24

ID23

ID22

ID21

$xxx0

Standard ID

Read:

ID10

ID9

ID8

ID7

ID6

ID5

ID4

ID3

 

CANxRIDR0

Write:

 

 

 

 

 

 

 

 

 

Extended ID

Read:

ID20

ID19

ID18

SRR=1

IDE=1

ID17

ID16

ID15

$xxx1

Standard ID

Read:

ID2

ID1

ID0

RTR

IDE=0

 

 

 

 

CANxRIDR1

Write:

 

 

 

 

 

 

 

 

 

Extended ID

Read:

ID14

ID13

ID12

ID11

ID10

ID9

ID8

ID7

$xxx2

Standard ID

Read:

 

 

 

 

 

 

 

 

 

CANxRIDR2

Write:

 

 

 

 

 

 

 

 

 

Extended ID

Read:

ID6

ID5

ID4

ID3

ID2

ID1

ID0

RTR

$xxx3

Standard ID

Read:

 

 

 

 

 

 

 

 

 

CANxRIDR3

Write:

 

 

 

 

 

 

 

 

$xxx4-

CANxRDSR0 - Read:

DB7

DB6

DB5

DB4

DB3

DB2

DB1

DB0

$xxxB

CANxRDSR7

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

37

http://www.xinpian.net

提供单片机解密、IC解密、芯片解密业务 010-62245566 13810019655

Page 37
Image 37
Motorola MC9S12DB128B CAN0TFLG, TXE2 TXE1 TXE0, CAN0TIER, TXEIE2 TXEIE1 TXEIE0, CAN0TARQ, ABTRQ2 ABTRQ1 ABTRQ0, CAN0TAAK