aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32
diff options
context:
space:
mode:
authorAlexandru Gagniuc2013-01-09 02:12:21 -0600
committerAlexandru Gagniuc2013-01-09 02:12:21 -0600
commit7ba100f56919374b111991198a0691ab5ab78c1e (patch)
tree647839d1c669a473e2acc82ce158fac210ae81fa /examples/stm32
parent4b2d9aca7bcefb1699b852a7573cfa06edd5e8ef (diff)
lm4f: Update miniblink example to demonstrate clock API
Flashes the Red, Green and Blue diodes on the board, in order. The system clock starts at 80MHz. Pressing SW2 toggles the system clock between 80MHz, 57MHz, 40MHz ,20MHz, and 16MHz by changing the PLL divisor. Pressing SW1 bypasses the PLL completely, and runs off the raw 16MHz clock provided by the external crystal oscillator. The LEDs will toggle at different speeds, depending on the system clock. The system clock changes are handled within the interrupt service routine. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'examples/stm32')
0 files changed, 0 insertions, 0 deletions