led control
This commit is contained in:
@ -45,6 +45,16 @@
|
||||
#define LED_GPIO_Port GPIOC
|
||||
#define ERROR_Pin GPIO_PIN_14
|
||||
#define ERROR_GPIO_Port GPIOC
|
||||
#define LED2_Pin GPIO_PIN_15
|
||||
#define LED2_GPIO_Port GPIOC
|
||||
#define Tacho_In_Pin GPIO_PIN_0
|
||||
#define Tacho_In_GPIO_Port GPIOA
|
||||
#define PWM_Out_Pin GPIO_PIN_4
|
||||
#define PWM_Out_GPIO_Port GPIOB
|
||||
#define HighSideEn_Pin GPIO_PIN_5
|
||||
#define HighSideEn_GPIO_Port GPIOB
|
||||
#define LowSideEn_Pin GPIO_PIN_6
|
||||
#define LowSideEn_GPIO_Port GPIOB
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
@ -51,7 +51,7 @@
|
||||
*/
|
||||
#define HAL_MODULE_ENABLED
|
||||
/*#define HAL_ADC_MODULE_ENABLED */
|
||||
/*#define HAL_CAN_MODULE_ENABLED */
|
||||
#define HAL_CAN_MODULE_ENABLED
|
||||
/*#define HAL_CEC_MODULE_ENABLED */
|
||||
/*#define HAL_CORTEX_MODULE_ENABLED */
|
||||
/*#define HAL_CRC_MODULE_ENABLED */
|
||||
@ -75,7 +75,7 @@
|
||||
/*#define HAL_SD_MODULE_ENABLED */
|
||||
/*#define HAL_SDRAM_MODULE_ENABLED */
|
||||
/*#define HAL_SMARTCARD_MODULE_ENABLED */
|
||||
#define HAL_SPI_MODULE_ENABLED
|
||||
/*#define HAL_SPI_MODULE_ENABLED */
|
||||
/*#define HAL_SRAM_MODULE_ENABLED */
|
||||
#define HAL_TIM_MODULE_ENABLED
|
||||
/*#define HAL_UART_MODULE_ENABLED */
|
||||
|
Reference in New Issue
Block a user