Interface: HPLUART
The byte-level interface to the UART, which can send and receive
simultaneously.
This interface, as it directly abstracts hardware, follows the
hardware interface convention of not maintaining state. Therefore,
some conditions that could be understood by a higher layer to be
errors execute properly; for example, one can call
txBit
when in receive mode. A higher level interface
must provide the checks for conditions such as this.
- Components providing this interface:
-
tos.platform.avrmote.HPLUARTC
tos.platform.avrmote.HPLUARTM
- Components requiring this interface:
-
tos.system.UARTM
-
result_t
init
(void)
-
result_t
put
(uint8_t data)
-
result_t
get
(uint8_t data)
-
result_t
putDone
(void)
init
result_t init(void)
put
result_t put(uint8_t data)
get
result_t get(uint8_t data)
putDone
result_t putDone(void)