open-ameba/sdk/example_sources/gtimer
Drasko DRASKOVIC eeb7f808ae Change SDK dir name. Use OpenOCD only.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2017-05-14 18:47:13 +02:00
..
src Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
readme.txt Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00

Example Description

This example describes how to use general timer.

Requirement Components:
    2 LED

Connect the two LED to port PC_0 and PC_1 respectivly.  

Behavior:
The two LED will blink at different frequence.

    Two timers are intialized in this example
    (1) Periodic timer
    (2) One shut timer