134/317
5 - Peripherals
been received by a flag set by the interrupt service routine. Conversely, if the main program
wants to send data, it prepares the character or string to send into a buffer in memory, then
starts the transmission by enabling the transmit interrupt. This will make the interrupt mecha-
nism send the characters one at a time, an interrupt occurring each time the SCI has sent a
character. The sending is terminated either by exhausting a character counter or encountering
a terminator at the end of the buffer. An example of this type of handling is described in the
second application, Chapter 10.
Содержание ST7 Series
Страница 1: ...ST7 8 BIT MCU FAMILY USER GUIDE JANUARY 1999 1 ...
Страница 238: ...238 317 8 C Language and the C Compiler 08 Burn bmp Then use the EPROMer programmer software as described in Chapter 7 ...
Страница 289: ...289 317 10 Second Application a Sailing Computer 10 befor Bs Rw Vw VMG AlphaR AlphaV Before the wind ...