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

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

#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_TOTAL_LEDS   (1 + 1 + 1 + 1)
 total number of leds on the board More...
 

Enumerations

enum  { distortos::board::ld3LedIndex, distortos::board::ld4LedIndex, distortos::board::ld5LedIndex, distortos::board::ld6LedIndex }
 

Variables

constexpr size_t distortos::board::totalLeds {DISTORTOS_BOARD_TOTAL_LEDS}
 total number of leds on the board More...
 
constexpr size_t distortos::board::orangeLedIndex {ld3LedIndex}
 alternative index of ld3 LED (orange) More...
 
constexpr size_t distortos::board::greenLedIndex {ld4LedIndex}
 alternative index of ld4 LED (green) More...
 
constexpr size_t distortos::board::redLedIndex {ld5LedIndex}
 alternative index of ld5 LED (red) More...
 
constexpr size_t distortos::board::blueLedIndex {ld6LedIndex}
 alternative index of ld6 LED (blue) More...
 
chip::ChipOutputPin distortos::board::leds [totalLeds]
 array with all leds objects More...
 

Detailed Description

Declaration of leds for ST,STM32F4DISCOVERY.

Author
Copyright (C) 2014-2017 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_TOTAL_LEDS

#define DISTORTOS_BOARD_TOTAL_LEDS   (1 + 1 + 1 + 1)

total number of leds on the board