HWA
Bare metal programming with style
Class _sab: Universal Synchronous Asynchronous Receiver Transmitter

Relatives

Interface

hw|hwa( configure, USART,
[ mode, uart, ] // Default
[ divider, x, ] // Value of the clock divider
[ clockhz, x, // Source clock frequency
bps, y, // Transfer rate in bits per second.
[tol, z,]] // Tolerance for bps (0.01 is 1%)
[ databits, 8 // Default
| 9, ]
[ parity, none // Default
| even
| odd, ]
[ stopbits, 1 // Default
0.5
1.5
| 2, ]
[ cts, on
| off, ] // Default
[ rts, on
| off, ] // Default
[ receiver, on
| off, ] // Default
[ transmitter, on
| off ] // Default
[ run, yes
| no ] ); // Default
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