oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
board_types.h
1/*
2 * Copyright (C) 2026 Kamil Lulko <kamil.lulko@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 *
6 * This file is part of oveRTOS.
7 */
8
9#ifndef OVE_BOARD_TYPES_H
10#define OVE_BOARD_TYPES_H
11
22#ifdef __cplusplus
23extern "C" {
24#endif
25
32 unsigned int port;
33 unsigned int pin;
35};
36
45 const char *name;
46 const char *mcu_family;
47 const char *mcu;
48 unsigned int gpio_port_count;
49 unsigned int gpio_pins_per_port;
50 unsigned int led_count;
51 const struct ove_led_desc *leds;
52};
53
54#ifdef __cplusplus
55}
56#endif
57
60#endif /* OVE_BOARD_TYPES_H */
Full description of a hardware board.
Definition board_types.h:44
const char * mcu
Definition board_types.h:47
unsigned int gpio_pins_per_port
Definition board_types.h:49
unsigned int gpio_port_count
Definition board_types.h:48
unsigned int led_count
Definition board_types.h:50
const struct ove_led_desc * leds
Definition board_types.h:51
const char * mcu_family
Definition board_types.h:46
const char * name
Definition board_types.h:45
Descriptor for a single on-board LED.
Definition board_types.h:31
unsigned int port
Definition board_types.h:32
unsigned int pin
Definition board_types.h:33
int active_low
Definition board_types.h:34