oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
board_types.h
Go to the documentation of this file.
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
23#ifdef __cplusplus
24extern "C" {
25#endif
26
33 unsigned int port;
34 unsigned int pin;
36};
37
46 const char *name;
47 const char *mcu_family;
48 const char *mcu;
49 unsigned int gpio_port_count;
50 unsigned int gpio_pins_per_port;
51 unsigned int led_count;
52 const struct ove_led_desc *leds;
53};
54
55#ifdef __cplusplus
56}
57#endif
58
61#endif /* OVE_BOARD_TYPES_H */
Full description of a hardware board.
Definition board_types.h:45
const char * mcu
Definition board_types.h:48
unsigned int gpio_pins_per_port
Definition board_types.h:50
unsigned int gpio_port_count
Definition board_types.h:49
unsigned int led_count
Definition board_types.h:51
const struct ove_led_desc * leds
Definition board_types.h:52
const char * mcu_family
Definition board_types.h:47
const char * name
Definition board_types.h:46
Descriptor for a single on-board LED.
Definition board_types.h:32
unsigned int port
Definition board_types.h:33
unsigned int pin
Definition board_types.h:34
int active_low
Definition board_types.h:35