Example application: Print Timer5 count over UART2 continuously. More...
#include "navhal.h"
Macros | |
| #define | CORTEX_M4 |
Functions | |
| int | main (void) |
Example application: Print Timer5 count over UART2 continuously.
| #define CORTEX_M4 |
| int main | ( | void | ) |
< Initialize SysTick with 1 ms tick
< Initialize UART2 at 9600 baud
< Initialize TIM5 with auto-reload 1e9
< Print label
< Convert timer value to string
< Newline and carriage return