работает слейв и мастер
This commit is contained in:
15
App/hardware.h
Normal file
15
App/hardware.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user