HWA
Bare metal programming with style
Class _uarta: Universal Asynchronous serial Receiver Transmitter

A class _uarta object is a UART.

It is used in:

Configuration

hw | hwa( configure, uart0,
// Transfer rate in bits per second
//
[ bps
| baudrate, BPS, ]
// Number of data bits in frame. Default is `8`.
//
[ databits, 5 | 6 | 7 | 8, ]
// Parity. Default is `none`.
//
[ parity, none
| even
| odd, ]
// Number of stop bits in frame. Default is `1`.
//
[ stopbits, 1 | 2, ] );

Note You must connect the I/O pins to the proper UART signals using the configure action on the I/O pin.

hwa
#define hwa(...)
hwa( action, object [,...] ) stores an action for an object into a HWA context.
Definition: hwa_macros.h:552
hw
#define hw(...)
hw( action, object [,...] ) executes an action immediately on an object.
Definition: hwa_macros.h:523