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

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

#include "distortos/distortosConfiguration.h"
#include <cstddef>
Include dependency graph for buttons.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_BUTTONS_B1_ENABLED   1
 
#define DISTORTOS_BOARD_BUTTONS_COUNT   (DISTORTOS_BOARD_BUTTONS_B1_ENABLED)
 count of buttons on the board More...
 

Enumerations

enum  { distortos::board::buttonsB1Index }
 

Variables

constexpr size_t distortos::board::buttonsCount {DISTORTOS_BOARD_BUTTONS_COUNT}
 count of buttons on the board More...
 
constexpr size_t distortos::board::buttonsUserIndex {buttonsB1Index}
 alternative index of B1 (User) from buttons More...
 
const chip::ChipInputPin distortos::board::buttons [buttonsCount]
 array with all buttons objects More...
 

Detailed Description

Declaration of buttons 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_BUTTONS_COUNT

#define DISTORTOS_BOARD_BUTTONS_COUNT   (DISTORTOS_BOARD_BUTTONS_B1_ENABLED)

count of buttons on the board