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.

29 lines
705 B
C

/*****************************************************************************
* BSP for NUCLEO-C031C6 with uC/OS-II RTOS
*****************************************************************************/
#ifndef BSP_H
#define BSP_H
void BSP_init(void);
void BSP_start(void);
void BSP_ledRedOn(void);
void BSP_ledRedOff(void);
void BSP_ledBlueOn(void);
void BSP_ledBlueOff(void);
void BSP_ledGreenOn(void);
void BSP_ledGreenOff(void);
/*---------------------------------------------------------------------------*/
enum EventSignals {
BUTTON_PRESSED_SIG = USER_SIG,
BUTTON_RELEASED_SIG,
TIMEOUT_SIG,
/* ... */
};
/* Active objects... */
extern Active *AO_BlinkyButton;
#endif /* BSP_H */