distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
leds.hpp File Reference

Declaration of leds for ST,STM32F4DISCOVERY. More...

#include "distortos/distortosConfiguration.h"
#include <cstddef>
Include dependency graph for leds.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::chip
 Chip-related code of distortos project.
 
 distortos::board
 Board-related code of distortos project.
 

Macros

#define DISTORTOS_BOARD_LEDS_LD3_ENABLED   1
 
#define DISTORTOS_BOARD_LEDS_LD4_ENABLED   1
 
#define DISTORTOS_BOARD_LEDS_LD5_ENABLED   1
 
#define DISTORTOS_BOARD_LEDS_LD6_ENABLED   1
 
#define DISTORTOS_BOARD_LEDS_COUNT
 count of leds on the board More...
 

Enumerations

enum  { distortos::board::ledsLd3Index, distortos::board::ledsLd4Index, distortos::board::ledsLd5Index, distortos::board::ledsLd6Index }
 

Variables

constexpr size_t distortos::board::ledsCount {DISTORTOS_BOARD_LEDS_COUNT}
 count of leds on the board More...
 
constexpr size_t distortos::board::ledsOrangeIndex {ledsLd3Index}
 alternative index of Ld3 (Orange) from leds More...
 
constexpr size_t distortos::board::ledsGreenIndex {ledsLd4Index}
 alternative index of Ld4 (Green) from leds More...
 
constexpr size_t distortos::board::ledsRedIndex {ledsLd5Index}
 alternative index of Ld5 (Red) from leds More...
 
constexpr size_t distortos::board::ledsBlueIndex {ledsLd6Index}
 alternative index of Ld6 (Blue) from leds More...
 
chip::ChipOutputPin distortos::board::leds [ledsCount]
 array with all leds objects More...
 

Detailed Description

Declaration of leds for ST,STM32F4DISCOVERY.

Author
Copyright (C) 2014-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Warning
Automatically generated file - do not edit!

Macro Definition Documentation

◆ DISTORTOS_BOARD_LEDS_COUNT

#define DISTORTOS_BOARD_LEDS_COUNT
Value:
(DISTORTOS_BOARD_LEDS_LD3_ENABLED + \
DISTORTOS_BOARD_LEDS_LD4_ENABLED + \
DISTORTOS_BOARD_LEDS_LD5_ENABLED + \
DISTORTOS_BOARD_LEDS_LD6_ENABLED)

count of leds on the board