mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
commit
c97d452b05
@ -16,7 +16,7 @@
|
||||
* to allow platform independent access to the MCU's serial communication abilities.
|
||||
* This interface is intentionally designed to be as simple as possible, to allow
|
||||
* for easy implementation and maximum portability. In RIOT we only use the
|
||||
* common 8-N-1 format of the serial port (8 data bist, no parity bit, one stop bit).
|
||||
* common 8-N-1 format of the serial port (8 data bits, no parity bit, one stop bit).
|
||||
*
|
||||
* The simple interface provides capabilities to initialize the serial communication
|
||||
* module, which automatically enables for receiving data, as well as writing data
|
||||
@ -27,9 +27,9 @@
|
||||
* callback function that is executed in interrupt context when data is being received.
|
||||
* The driver will then read the received data byte, call the registered callback
|
||||
* function and pass the received data to it via its argument. The interface enforces
|
||||
* the receiving to be impemented in an interrupt driven mode. Thus, you never now how
|
||||
* the receiving to be implemented in an interrupt driven mode. Thus, you never know how
|
||||
* many bytes are going to be received and might want to handle that in your specific
|
||||
* callback function. The transmit function can be implemented in any way
|
||||
* callback function. The transmit function can be implemented in any way.
|
||||
*
|
||||
* By default the @p UART_DEV(0) device of each board is initialized and mapped to STDIO
|
||||
* in RIOT which is used for standard input/output functions like `printf()` or
|
||||
|
Loading…
Reference in New Issue
Block a user