| include | |
| common | |
| hal_12c.h | Hardware Abstraction Layer (HAL) interface for I2C communication |
| hal_clock.h | Hardware Abstraction Layer (HAL) interface for clock management |
| hal_gpio.h | Hardware Abstraction Layer (HAL) interface for General Purpose Input/Output (GPIO) |
| hal_pwm.h | Hardware Abstraction Layer (HAL) interface for Pulse Width Modulation (PWM) |
| hal_status.h | |
| hal_timer.h | Hardware Abstraction Layer (HAL) interface for timer peripherals |
| hal_types.h | Hardware Abstraction Layer (HAL) common type definitions |
| hal_uart.h | Hardware Abstraction Layer (HAL) interface for UART communication |
| core | |
| cortex-m4 | |
| clock.h | Cortex-M4 specific clock control HAL interface |
| flash_reg.h | |
| gpio.h | Cortex-M4 specific GPIO HAL interface |
| gpio_reg.h | Cortex-M4 GPIO register definitions and access macros |
| i2c.h | Cortex-M4 I²C HAL interface |
| i2c_reg.h | Cortex-M4 I²C peripheral register definitions and bit masks |
| interrupt.h | NVIC register definitions, IRQ numbers, and HAL interrupt control API for STM32F4 |
| interrupt_reg.h | Cortex-M4 NVIC (Nested Vector Interrupt Controller) register definitions |
| pwm.h | HAL interface for PWM (Pulse Width Modulation) configuration and control |
| rcc_reg.h | |
| timer.h | Timer and SysTick register defines and API for STM32F4 (Cortex-M4) |
| timer_reg.h | |
| uart.h | UART driver interface for STM32F4 (Cortex-M4) |
| uart_reg.h | |
| utils | |
| bus_types.h | |
| clock_types.h | Clock HAL type definitions |
| conversion.h | String to number conversion utilities interface |
| gpio_types.h | GPIO pin definitions and related types for NavHAL |
| timer_types.h | |
| types.h | Centralized type definitions include for NavHAL |
| navhal.h | Root header file for the NavHAL project by NavRobotec |
| samples | |
| 00_test_sample | |
| main.c | |
| 01_hal_blink | |
| main.c | Example application toggling an LED on GPIO_PA05 using HAL |
| 01_no_hal_blink | |
| main.c | |
| startup.s | |
| 02_hal_pupd | |
| main.c | Example application: Toggle LED on GPIO_PA05 based on button input on GPIO_PC13 |
| startup.s | |
| 03_hal_uart_tx | |
| main.c | Example application: Send "Hello World" via UART2 every 1 second |
| 03_no_hal_uart_tx | |
| main.c | |
| startup.s | |
| 04_hal_timer | |
| main.c | Example application: Print Timer5 count over UART2 continuously |
| 05_hal_systick | |
| main.c | Example: Multiple timers with callbacks and UART output |
| 06_hal_blink_delay | |
| main.c | Blink LED on PA05 and print system millis over UART2 |
| 07_hal_pwm | |
| main.c | Example application: Generate PWM on PB10 using TIM2 and print duty cycle over UART2 |
| 08_no_hal_pwm | |
| main.c | |
| startup.s | |
| 09_hal_clock | |
| main.c | Print system clock and bus clocks over UART2 |
| 10_no_hal_i2c | |
| main.c | |
| startup.s | |
| 11_hal_i2c | |
| main.c | Example: Read raw temperature from BMP180 over I2C and print via UART2 |
| src | |
| core | |
| cortex-m4 | |
| clock | |
| clock.c | Cortex-M4 (STM32F4) Clock HAL Implementation |
| gpio | |
| gpio.c | HAL GPIO driver implementation for STM32F4 series |
| i2c | |
| i2c.c | HAL I2C driver implementation for STM32F4 series |
| interrupt | |
| interrupt.c | Cortex-M4 Interrupt Controller HAL Implementation |
| pwm | |
| pwm.c | PWM driver implementation for STM32F4 series (Cortex-M4) |
| startup | |
| startup.s | |
| timer | |
| timer.c | Timer, SysTick and timer-peripheral helpers for STM32F4 (Cortex-M4) |
| uart | |
| uart.c | UART driver implementation for STM32F4 series |
| conversion.c | String to number conversion implementation |
| tests | |
| main.c | Unit test runner for NAVHAL Cortex-M4 hardware abstraction layer |
| stubs.c | System-level function implementations for Cortex-M4 |
| test_gpio.c | GPIO unit test implementation for NAVHAL |
| test_gpio.h | GPIO unit test declarations for NAVHAL |
| test_timer.c | Timer unit test implementation for NAVHAL |
| test_timer.h | Timer unit test declarations for NAVHAL |