Repo unification
This commit is contained in:
37
firmware/src/hw/board/odout.h
Normal file
37
firmware/src/hw/board/odout.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef ODOUT_H_
|
||||
#define ODOUT_H_
|
||||
|
||||
/*
|
||||
OD1 LED 0
|
||||
OD2 LED 1
|
||||
OD3 LED 2
|
||||
OD4 LED 3
|
||||
OD5 LED 4
|
||||
OD6 LED 5
|
||||
|
||||
COMMON LED PWM
|
||||
*/
|
||||
|
||||
/**** Includes ****/
|
||||
#include <stdint.h>
|
||||
|
||||
/**** Public definitions ****/
|
||||
#define BSP_OD1 1
|
||||
#define BSP_OD2 2
|
||||
#define BSP_OD3 3
|
||||
#define BSP_OD4 4
|
||||
#define BSP_OD5 5
|
||||
#define BSP_OD6 6
|
||||
|
||||
#define BSP_ODOUT_LOW 0
|
||||
#define BSP_ODOUT_HIGH 1
|
||||
#define BSP_ODOUT_HIZ -1
|
||||
|
||||
/**** Public function declarations ****/
|
||||
void bsp_odout_write(uint8_t ch, int8_t lvl);
|
||||
void bsp_odout_write_common(uint8_t percent);
|
||||
|
||||
#ifdef TESTING
|
||||
#endif
|
||||
|
||||
#endif /* ODOUT_H_ */
|
||||
Reference in New Issue
Block a user