|
TMP88PS42FG Datasheet, PDF (187/224 Pages) Toshiba Semiconductor – 8 Bit Microcontroller | |||
|
◁ |
TMP88PS42FG
SIOCR1<SIOS> is cleared, the operation will end after all bits of words are transmitted.
That the transmission has ended can be determined from the status of SIOSR<SIOF> because SIOSR<SIOF>
is cleared to â0â when a transfer is completed.
When SIOCR1<SIOINH> is set, the transmission is immediately ended and SIOSR<SIOF> is cleared to
â0â.
When an external clock is used, it is also necessary to clear SIOCR1<SIOS> to â0â before shifting the next
data; If SIOCR1<SIOS> is not cleared before shift out, dummy data will be transmitted and the operation will
end.
If it is necessary to change the number of words, SIOCR1<SIOS> should be cleared to â0â, then
SIOCR2<BUF> must be rewritten after confirming that SIOSR<SIOF> has been cleared to â0â.
SIOCR1<SIOS>
Clear SIOS
SIOSR<SIOF>
SIOSR<SEF>
SCK pin
(Output)
SO pin
INTSIO interrupt
a0 a1 a2 a3 a4 a5 a6 a7 b0 b1 b2 b3 b4 b5 b6 b7
DBR
ab
Write Write
(a) (b)
Figure 15-7 Transfer Mode (Example: 8bit, 1word transfer, Internal clock)
SIOCR1<SIOS>
Clear SIOS
SIOSR<SIOF>
SIOSR<SEF>
SCK pin
(Input)
SO pin
INTSIO interrupt
a0 a1 a2 a3 a4 a5 a6 a7 b0 b1 b2 b3 b4 b5 b6 b7
DBR
ab
Write Write
(a) (b)
Figure 15-8 Transfer Mode (Example: 8bit, 1word transfer, External clock)
Page 177
|
▷ |