You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
437 B
C
25 lines
437 B
C
|
5 years ago
|
#ifndef __BSP_H__
|
||
|
|
#define __BSP_H__
|
||
|
|
|
||
|
|
/* system clock tick [Hz] */
|
||
|
|
#define BSP_TICKS_PER_SEC 1000U
|
||
|
|
|
||
|
|
void BSP_init(void);
|
||
|
|
|
||
|
|
void BSP_ledRedOn(void);
|
||
|
|
void BSP_ledRedOff(void);
|
||
|
|
|
||
|
|
void BSP_ledBlueOn(void);
|
||
|
|
void BSP_ledBlueOff(void);
|
||
|
|
void BSP_ledBlueToggle(void);
|
||
|
|
|
||
|
|
void BSP_ledGreenOn(void);
|
||
|
|
void BSP_ledGreenOff(void);
|
||
|
|
void BSP_ledGreenToggle(void);
|
||
|
|
|
||
|
|
void BSP_sendMorseCode(uint32_t bitmask);
|
||
|
|
|
||
|
|
extern QXSemaphore SW1_sema;
|
||
|
|
|
||
|
|
#endif // __BSP_H__
|