1
0

Hello TOR 2k24

Have fun 🚀
This commit is contained in:
2024-04-10 19:17:57 +02:00
commit f821a46ea0
62 changed files with 21518 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/************************************************************************//**
* \file ext_buttons.h
* \brief Function to use the extension uart
* \author pascal (dot) sartoretti (at) hevs (dot) ch
***************************************************************************/
#ifndef __EXT_BUTTONS_H
#define __EXT_BUTTONS_H
#include <stdint.h>
/************************************************************************//**
* \brief Inits the external buttons usage.
* \return Always #0
***************************************************************************/
extern int32_t Ext_Buttons_Init(void);
/************************************************************************//**
* \brief Reads the buttons status
* \return The binary state of the buttons (example 4 for button 2 pressed).
***************************************************************************/
extern uint32_t Ext_Buttons_GetState(void);
#endif /* __BOARD_BUTTONS_H */