Rainbow-electronics ATmega64M1 Manuel d'utilisateur Page 193

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 343
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 192
193
8209A–AVR–08/09
ATmega16M1/32M1/64M1
Bit 4 – BERR: Bit Error (Only in Transmission)
This flag can generate an interrupt. It must be cleared using a read-modify-write software routine
on the whole CANSTMOB register.
The bit value monitored is different from the bit value sent.
Exceptions: the monitored recessive bit sent as a dominant bit during the arbitration field and the
acknowledge slot detecting a dominant bit during the sending of an error frame.
Bit 3 – SERR: Stuff Error
This flag can generate an interrupt. It must be cleared using a read-modify-write software routine
on the whole CANSTMOB register.
Detection of more than five consecutive bits with the same polarity. This flag can generate an
interrupt.
Bit 2 – CERR: CRC Error
This flag can generate an interrupt. It must be cleared using a read-modify-write software routine
on the whole CANSTMOB register.
The receiver performs a CRC check on every de-stuffed received message from the start of
frame up to the data field. If this checking does not match with the de-stuffed CRC field, a CRC
error is set.
Bit 1 – FERR: Form Error
This flag can generate an interrupt. It must be cleared using a read-modify-write software routine
on the whole CANSTMOB register.
The form error results from one or more violations of the fixed form in the following bit fields:
CRC delimiter.
Acknowledgment delimiter.
•EOF
Bit 0 – AERR: Acknowledgment Error
This flag can generate an interrupt. It must be cleared using a read-modify-write software routine
on the whole CANSTMOB register.
No detection of the dominant bit in the acknowledge slot.
20.11.2 CANCDMOB – CAN MOb Control and DLC Register
Bit 7:6 – CONMOB[1:0]: Configuration of Message Object
These bits set the communication to be performed (no initial value after RESET).
–00 - disable.
01 - enable transmission.
10 - enable reception.
11 - enable frame buffer reception
Bit 7 6 543210
CONMOB1 CONMOB0 RPLV IDE DLC3 DLC2 DLC1 DLC0
CANCDMOB
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value- - ------
Vue de la page 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 342 343

Commentaires sur ces manuels

Pas de commentaire