Rename bridge_protocol_scheduler.[ch] to slave_scheduler.[ch]

This commit is contained in:
László Monda
2017-05-05 00:17:27 +02:00
parent 4ce83593fa
commit d2eed48418
6 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,29 @@
#ifndef __BRIDGE_PROTOCOL_SCHEDULER_H__
#define __BRIDGE_PROTOCOL_SCHEDULER_H__
// Includes:
#include "fsl_common.h"
// Typedefs:
typedef enum {
UhkSlaveType_LedDriver,
UhkSlaveType_UhkModule,
UhkSlaveType_Touchpad
} uhk_slave_type_t;
typedef bool (slave_handler_t)(uint8_t);
typedef struct {
uint8_t moduleId; // This is a unique, per-module ID.
slave_handler_t *slaveHandler;
bool isConnected;
} uhk_slave_t;
// Functions:
void InitBridgeProtocolScheduler();
void SetLeds(uint8_t ledBrightness);
#endif