16 lines
338 B
C
16 lines
338 B
C
#ifndef HARDWARE_H
|
|
#define HARDWARE_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
void Hardware_Init(void);
|
|
void Hardware_Process(void);
|
|
uint32_t Hardware_GetTickMs(void);
|
|
bool Hardware_ReadRoleSwitchIsMaster(void);
|
|
void Hardware_SetRoleLed(bool on);
|
|
bool Hardware_ReadButton(uint8_t index);
|
|
uint16_t Hardware_ReadAnalogRaw(void);
|
|
|
|
#endif
|