HWA
Bare metal programming with style
Class _pllb: PLL

Relatives

Interface

Note
The PLL can not be configured once it is running.
hw|hwa( configure, pll,
input, hse [ / 2..63 ]
| hsi [ / 2..63 ]
multiplier, 50..432,
sysclkdiv, 2 | 4 | 6 | 8,
[ 48MHzdiv, 2..15 ]
}
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