EasyManua.ls Logo

ST ST7 - Page 134

ST ST7
317 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 eitherby 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.

Table of Contents

Related product manuals