HWA
Bare metal programming with style
Class _plla: PLL

Relatives

Interface

hw|hwa( power, pll, on
| off );
Note
The PLL can not be configured while it is running.
hw|hwa( configure, pll,
[ input, hsi/2
| hse
| hse/2, ]
[ multiplier, 2..16 ); // Any value in the range [ 2..16 ]
hw|hwa( start, pll );
hw|hwa( stop, pll );
// Wait for the PLL to be locked
//
hw_stat_t(pll) st = hw(stat,pll) ;
while ( ! st.ready ) {}
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
hw_stat_t
#define hw_stat_t(object)
Declares the appropriate structure that holds the status of an object.
Definition: hwa_macros.h:711