NavHAL 0.1.0
NAVRobotec's architecture-agnostic HAL for embedded systems.
Loading...
Searching...
No Matches
main.c File Reference

Example application toggling an LED on GPIO_PA05 using HAL. More...

#include "navhal.h"
Include dependency graph for main.c:

Macros

#define CORTEX_M4

Functions

int main (void)

Detailed Description

Example application toggling an LED on GPIO_PA05 using HAL.

  • Initializes SysTick timer with 1 ms tick.
  • Configures GPIO_PA05 as output with no pull-up/pull-down.
  • Toggles the LED with 100 ms delay in an infinite loop.

Macro Definition Documentation

◆ CORTEX_M4

#define CORTEX_M4

Function Documentation

◆ main()

int main ( void )