Renesas Asynchronous SH7145F Manuale Utente Pagina 11

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 16
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 10
SH7145F
Synchronous Serial Data Transmission
REJ06B0352-0100O/Rev.1.00 March 2004 Page 11 of 16
(2) SCI1 Initialize Routine
No
Yes
Cancel SCI0 module standby status
Clear to 0 bits TIE, RIE, TE, RE, MPIE,
and TEIE in SCR_0
Select on-chip clock as clock source
using CKE1 and CKE0 in SCR_0
Using SMR_0, select synchronous
mode and Pφ as baud rate generator
clock source
Using BRR_0, set communication
speed to 250 kbps
Using DIR bit in SDCR_0, select
LSB-first communication
Using SCR_0, prohibit interrupts
Using PACRL2, set PA2 (pin 132) to
SCK function and PA1 (pin 131) to
TXD function
Using TE bit in SCR_0, enable transmit
operation
Wait minimum
1-bit transfer time
init_sci()
RTE
Vedere la pagina 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16

Commenti su questo manuale

Nessun commento