EasyManua.ls Logo

Allwinner A20 - Page 790

Allwinner A20
812 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 790 / 812
6.16.5.3. CAN STATUS REGISTER
Offset: 0x08
Register Name:
CAN_STA_REG
Default Value: 0x0000_003C
Bit
Read/Write
Default
Description
31:24
/
/
/
23:22
R
0
ERR_CODE
Error Capture Error Code
0 - Bit error
1 - Form error
2 - Stuff error
3 - Some other type of error
21
R
0
ERR_DIR
Error Capture Direction
1 - the error occurred during reception
0 - the error occurred during transmission
20:16
R
0
ERR_SEG_CODE
Error Capture Segment Code
00011 - Start of frame
00010 - ID.28 to ID.21
00110 - ID.20 to ID.18
00100 - SRTR bit
00101 - IDE bit
00111 - ID.17 to ID.13
01111 - ID.12 to ID.5
01110 - ID.4 to ID.0
01100 - RTR bit
01101 - Reserved bit 1
01001 - Reserved bit 0
01011 - Data Length Code
01010 - Data Field
01000 - CRC sequence
11000 - CRC delimiter
11001 - Acknowledge
11011 - Acknowledge delimiter
11010 - End of frame
10010 - Intermission
10001 - Active error flag

Table of Contents