|
|
Component
AsynchroSerial
Asynchronous serial communication
Component Level: High
Category:
CPU Internal Peripherals-Communication
This component encapsulates serial communication interface (UART) and provides methods and events for asynchronous serial communication. The component provides standard features of asynchronous serial communications (if supported by hardware) and also special functions provided by the hardware:
The component can work in two basic modes:
When the Interrupt mode the component offers possibility to define communication buffers to further extend the functionality of the component with block transfer functions. The driver of the component stores all the incoming data to the input buffer and automatically transmits all the data from the output buffer. All the send/receive methods operate on the internal buffers. The AsynchroSerial component also offers possibility to control the data transfer with standard RTS/CTS handshake mechanism:
The following picture shows an example of a connection between two DCE devices (RS232C interface) with a possible handshake (dashed line):
|