Add firmware for the key cluster module based on the firmware of the left keyboard half.
This commit is contained in:
16
keycluster/src/init_peripherals.h
Normal file
16
keycluster/src/init_peripherals.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __INIT_PERIPHERALS_H__
|
||||
#define __INIT_PERIPHERALS_H__
|
||||
|
||||
// Macros:
|
||||
|
||||
#define LED_DRIVER_SDB_PORT PORTB
|
||||
#define LED_DRIVER_SDB_GPIO GPIOB
|
||||
#define LED_DRIVER_SDB_CLOCK kCLOCK_PortB
|
||||
#define LED_DRIVER_SDB_PIN 1
|
||||
|
||||
// Functions:
|
||||
|
||||
void InitPeripherals(void);
|
||||
void initI2c(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user