NEC PD75P402 Manuale Utente Pagina 103

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 195
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 102
92
CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS
(b) To transmit/receive MSB-first data using an external clock (slave operation).
P01/SCK
µ
PD75402A
SI
SO/SB0
SCK
SO
SI
Other Microcomputer
<Sample program>
Main routine
MOV XA, #80H
MOV CSIM, XA ; Serial operation stopped, external clock specification
MOV XA, TDATA
MOV SIO, XA ; Transfer data setting & start of transfer
EI IECSI
EI
Interrupt routine
MOV XA, TDATA
XCH XA, SIO ; Receive data ÷ send data & start of transfer
MOV RDATA, XA ; Receive data save
RETI
Vedere la pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 194 195

Commenti su questo manuale

Nessun commento