Simone: a game of visual memory and speed
fsm_keyboard_t Struct Reference

Structure of the Keyboard FSM. More...

#include <fsm_keyboard.h>

Data Fields

fsm_t f
 
uint32_t debounce_time_ms
 
uint32_t next_timeout
 
uint32_t tick_pressed
 
char key_value
 
uint8_t keyboard_id
 
char invalid_key
 

Detailed Description

Structure of the Keyboard FSM.

Field Documentation

◆ debounce_time_ms

uint32_t fsm_keyboard_t::debounce_time_ms

Keyboard debounce time in ms

◆ f

fsm_t fsm_keyboard_t::f

Keyboard FSM

◆ invalid_key

char fsm_keyboard_t::invalid_key

Value to indicate an invalid key

◆ key_value

char fsm_keyboard_t::key_value

Key pressed of the last keyboard press

◆ keyboard_id

uint8_t fsm_keyboard_t::keyboard_id

Keyboard ID. Must be unique.

◆ next_timeout

uint32_t fsm_keyboard_t::next_timeout

Next timeout for the anti-debounce in ms

◆ tick_pressed

uint32_t fsm_keyboard_t::tick_pressed

Number of ticks when the keyboard was pressed


The documentation for this struct was generated from the following file: