| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
ATmega32M1 Datasheet(PDF) 218 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega32M1 Datasheet(HTML) 218 Page - ATMEL Corporation |
|
218 / 365 page ![]() 218 7647F–AVR–04/09 ATmega16/32/64/M1/C1 17.5.8 xxOK Flags There are three xxOK flags in LINSIR register: • LIDOK: LIN IDentifier OK It is set at the end of the header, either by the Tx Header function or by the Rx Header. In LIN 1.3, before generating LIDOK, the controller updates the LRXDL & LTXDL fields in LINDLR register. It is not driven in UART mode. • LRXOK: LIN RX response complete It is set at the end of the response by the Rx Response function in LIN mode and once a character is received in UART mode. • LTXOK: LIN TX response complete It is set at the end of the response by the Tx Response function in LIN mode and once a character has been sent in UART mode. These flags can generate interrupts if the corresponding enable interrupt bit is set in the LINE- NIR register (see Section 17.5.13 “Interrupts” on page 220). 17.5.9 xxERR Flags LERR bit of the LINSIR register is an logical ‘OR’ of all the bits of LINERR register (see Section 17.5.13 “Interrupts” on page 220). There are eight flags: • LBERR = LIN Bit ERRor. A unit that is sending a bit on the bus also monitors the bus. A LIN bit error will be flagged when the bit value that is monitored is different from the bit value that is sent. After detection of a LIN bit error the transmission is aborted. • LCERR = LIN Checksum ERRor. A LIN checksum error will be flagged if the inverted modulo-256 sum of all received data bytes (and the protected identifier in LIN 2.1) added to the checksum does not result in 0xFF. • LPERR = LIN Parity ERRor (identifier). A LIN parity error in the IDENTIFIER field will be flagged if the value of the parity bits does not match with the identifier value. (See LP[1:0] bits in Section 17.6.8 “LIN Identifier Register - LINIDR” on page 228). A LIN slave application does not distinguish between corrupted parity bits and a corrupted identifier. The hardware does not undertake any correction. However, the LIN slave application has to solve this as: - known identifier (parity bits corrupted), - or corrupted identifier to be ignored, - or new identifier. • LSERR = LIN Synchronization ERRor. A LIN synchronization error will be flagged if a slave detects the edges of the SYNCH field outside the given tolerance. • LFERR = LIN Framing ERRor. A framing error will be flagged if dominant STOP bit is sampled. Same function in UART mode. • LTOERR = LIN Time Out ERRor. A time-out error will be flagged if the MESSAGE frame is not fully completed within the maximum length T Frame_Maximum by any slave task upon transmission of the SYNCH and IDENTIFIER fields (see Section 17.5.10 “Frame Time Out” on page 219). |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |