HWA
Bare metal programming with style
Class _pllb: PLL
STMicroelectronics
»
STM32
»
STM32 Classes
Relatives
Registers
:
m
,
n
,
on
,
p
,
q
,
r
,
rdy
,
src
Interface
Configuration
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 ]
}
Start & stop
hw
|
hwa
( start, pll );
hw
|
hwa
( stop, pll );
Status
// 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
Generated for HWA by
1.8.6