oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Fields
ove_board_desc Struct Reference

Full description of a hardware board. More...

#include <board_types.h>

Collaboration diagram for ove_board_desc:
Collaboration graph
[legend]

Data Fields

const char * name
 
const char * mcu_family
 
const char * mcu
 
unsigned int gpio_port_count
 
unsigned int gpio_pins_per_port
 
unsigned int led_count
 
const struct ove_led_descleds
 

Detailed Description

Full description of a hardware board.

One instance of this struct is defined per supported board and returned by ove_board_desc(). Fields may be zero/NULL when the corresponding peripheral does not exist on the board.

Field Documentation

◆ name

const char* ove_board_desc::name

Human-readable board name (e.g. "STM32F4-Discovery").

◆ mcu_family

const char* ove_board_desc::mcu_family

MCU family string (e.g. "STM32F4").

◆ mcu

const char* ove_board_desc::mcu

Specific MCU part number (e.g. "STM32F407VGT6").

◆ gpio_port_count

unsigned int ove_board_desc::gpio_port_count

Number of GPIO ports available on this board.

◆ gpio_pins_per_port

unsigned int ove_board_desc::gpio_pins_per_port

Number of pins in each GPIO port.

◆ led_count

unsigned int ove_board_desc::led_count

Number of on-board LEDs described in leds.

◆ leds

const struct ove_led_desc* ove_board_desc::leds

Array of LED descriptors, length led_count.


The documentation for this struct was generated from the following file: