Skip to content

File ButtonController.cpp

FileList > demo-projets > stm32 > src > ButtonController.cpp

Go to the source code of this file.

  • #include <stdint.h>
  • #include "FreeRTOS.h"
  • #include "task.h"
  • #include "Bsp.hpp"
  • #include "DebugLink.hpp"
  • #include "Dispatcher.hpp"
  • #include "Power.hpp"
  • #include "utils/Debug.hpp"

Public Static Attributes

Type Name
uint32_t buttonState = = 0
bool debugStateChanges = = false
uint32_t powerOffAt = = 0

Public Functions

Type Name
void buttonControllerPoll ()
void buttonControllerSetDebug (bool debug)

Public Static Attributes Documentation

variable buttonState

uint32_t buttonState;

variable debugStateChanges

bool debugStateChanges;

variable powerOffAt

uint32_t powerOffAt;

Public Functions Documentation

function buttonControllerPoll

void buttonControllerPoll () 

function buttonControllerSetDebug

void buttonControllerSetDebug (
    bool debug
) 

The documentation for this class was generated from the following file demo-projets/stm32/src/ButtonController.cpp