ata6616 ATMEL Corporation, ata6616 Datasheet - Page 202

no-image

ata6616

Manufacturer Part Number
ata6616
Description
Microcontroller With Lin Transceiver, 5v Regulator And Watchdog
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL
Quantity:
950
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C-P3QW
Manufacturer:
ATMEL
Quantity:
887
4.16.5.12
4.16.5.13
Figure 4-80. LIN Interrupt Mapping
CHECKSUM
202
ATA6616/ATA6617 [Preliminary]
=
Checksum
Interrupts
LINERR.6
LINERR.1
LINERR.7
LINERR.5
LINERR.4
LINERR.3
LINERR.2
LINERR.0
255
unsigned char
LTOERR
LOVERR
LABORT
LCERR
LFERR
LSERR
LPERR
LBERR
The last field of a frame is the checksum.
In LIN 2.1, the checksum contains the inverted eight bit sum with carry over all data bytes and
the protected identifier. This calculation is called enhanced checksum.
In LIN 1.3, the checksum contains the inverted eight bit sum with carry over all data bytes. This
calculation is called classic checksum.
Frame identifiers 60 (0x3C) to 61 (0x3D) shall always use classic checksum
As shown in
combined to drive two interrupts. Each of these flags have their respective enable interrupt bit in
LINENIR register.
(see
200).
CHECKSUM
Section 4.16.5.8 “xxOK Flags” on page 200
n
0
DATA
=
Figure 4-80 on page
255
LINSIR.3
LINSIR.2
LINSIR.1
LINSIR.0
n
+
PROTECTED ID
unsigned char
LRXOK
LTXOK
LIDOK
LERR
LENERR
LINENIR.3
202, the four communication flags of the LINSIR register are
n
0
DATA
+
unsigned char
LENIDOK
n
LINENIR.2
+
unsigned char
DRAFT
and
LENTXOK
LINENIR.1
Section 4.16.5.9 “xxERR Flags” on page
n
0
DATA
LENRXOK
LINENIR.0
n
0
n
DATA
+
PROTECTED ID
n
»
8
LIN ERR
LIN TC
9132A–AUTO–10/08
»
8

Related parts for ata6616