Renesas R8C/Tiny Series Manuál Strana 178

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 177
R8C/10 Group 19. Usage Notes
Rev.1.20 Jan 27, 2006 page 168 of 180
REJ09B0019-0120
19.5 Serial Interface
(1) When reading data from the UiRB (i=0,1) register even in the clock asynchronous serial I/O mode or
in the clock synchronous serial I/O mode. Be sure to read data in 16-bit unit. When the high-byte of
the UiRB register is read, the PER and FER bits of the UiRB register and the RI bit of the UiC1
register are set to "0".
Example (when reading receive buffer register):
MOV.W 00A6H, R0 ; Read the U0RB register
(2) When writing data to the UiTB register in the clock asynchronous serial I/O mode with 9-bit transfer
data length, data should be written high-byte first then low-byte in 8-bit unit.
Example (when reading transmit buffer register):
MOV.B #XXH, 00A3H ; Write the high-byte of U0TB register
MOV.B #XXH, 00A2H ; Write the low-byte of U0TB register
Zobrazit stránku 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 198 199

Komentáře k této Příručce

Žádné komentáře