You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
579 B
20 lines
579 B
#pragma once
|
|
|
|
#define VERSION "v1.0"
|
|
#define ORDER_UART
|
|
#define DEBUG_UART huart2
|
|
|
|
#define DEBUG_LIGHT_PORT GPIOA
|
|
#define DEBUG_LIGHT_PIN GPIO_PIN_1
|
|
|
|
#define EXT_OEn_PORT GPIOC
|
|
#define EXT_OEn_PIN GPIO_PIN_0
|
|
#define EXT_OEn_SET(value) \
|
|
HAL_GPIO_WritePin(EXT_OEn_PORT, EXT_OEn_PIN, \
|
|
value ? GPIO_PIN_RESET : GPIO_PIN_SET)
|
|
|
|
#define PWM_OEn_PORT GPIOC
|
|
#define PWM_OEn_PIN GPIO_PIN_1
|
|
#define PWM_OEn_SET(value) \
|
|
HAL_GPIO_WritePin(PWM_OEn_PORT, PWM_OEn_PIN, \
|
|
value ? GPIO_PIN_RESET : GPIO_PIN_SET)
|