K-FSW ec10f94
Modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
boton_test.h File Reference
#include <stdbool.h>
#include <stdint.h>

Data Structures

struct  kfsw_boton_test_status
 

Macros

#define KFSW_HW_TEST_TABLE_ID   67U
 
#define KFSW_HW_TEST_TABLE_NAME   "hw_test"
 

Enumerations

enum  kfsw_boton_test_led { KFSW_BOTON_TEST_LED_GREEN , KFSW_BOTON_TEST_LED_BLUE , KFSW_BOTON_TEST_LED_RED , KFSW_BOTON_TEST_LED_COUNT }
 

Functions

int kfsw_boton_test_init (void)
 
int kfsw_boton_test_get_status (struct kfsw_boton_test_status *status)
 
int kfsw_boton_test_set_led (enum kfsw_boton_test_led led, bool on)
 

Variables

const struct kfsw_param_definition_set kfsw_boton_test_param_definitions
 

Description

Debounced button state and typed status API.

Macro Documentation

◆ KFSW_HW_TEST_TABLE_ID

#define KFSW_HW_TEST_TABLE_ID   67U

Parameter table of the hardware test example.

◆ KFSW_HW_TEST_TABLE_NAME

#define KFSW_HW_TEST_TABLE_NAME   "hw_test"

Parameter table name.