Rainbow-electronics ATmega64C1 Instrukcja Użytkownika Strona 199

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 366
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 198
199
7647A–AVR–02/08
ATmega32/64/M1/C1
0 - comparison true forced
1 - bit comparison enabled.
16.11.5 CAN Time Stamp Registers - CANSTML and CANSTMH
Bits 15:0 - TIMSTM15:0: Time Stamp Count
CAN time stamp counter range 0 to 65,535.
16.11.6 CAN Data Message Register - CANMSG
Bit 7:0 – MSG7:0: Message Data
This register contains the CAN data byte pointed at the page MOb register.
After writing in the page MOb register, this byte is equal to the specified message location of the
pre-defined identifier + index. If auto-incrementation is used, at the end of the data register writ-
ing or reading cycle, the index is auto-incremented.
The range of the counting is 8 with no end of loop (0, 1,..., 7, 0,...).
16.12 Examples of CAN Baud Rate Setting
The CAN bus requires very accurate timing especially for high baud rates. It is recommended to
use only an external crystal for CAN operations.
(Refer to “Bit Timing” on page 174 and “Baud Rate” on page 175 for timing description and page
190 to page 191 for “CAN Bit Timing Registers”).
Bit 76543210
TIMSTM7 TIMSTM6 TIMSTM5 TIMSTM4 TIMSTM3 TIMSTM2 TIMSTM1 TIMSTM0 CANSTML
TIMSTM15 TIMSTM14 TIMSTM13 TIMSTM12 TIMSTM11 TIMSTM10 TIMSTM9 TIMSTM8 CANSTMH
Bit 151413121110 9 8
Read/Write RRRRRRRR
Initial Value--------
Bit 76543210
MSG 7 MSG 6 MSG 5 MSG 4 MSG 3 MSG 2 MSG 1 MSG 0 CANMSG
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value--------
Przeglądanie stron 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 365 366

Komentarze do niniejszej Instrukcji

Brak uwag