| | |
| | | |
| | | #define LED_BLINK(...) GPIO_Toggle(__VA_ARGS__) |
| | | #define LED0_BLINK LED_BLINK(LED0_GPIO, LED0_PIN) |
| | | #define LED0_OFF GPIO_WriteBit(LED0_GPIO, LED0_PIN, Bit_RESET) |
| | | #define LED0_ON GPIO_WriteBit(LED0_GPIO, LED0_PIN, Bit_SET) |
| | | #define LED0_OFF HAL_GPIO_WritePin(LED0_GPIO, LED0_PIN, GPIO_PIN_RESET) |
| | | #define LED0_ON HAL_GPIO_WritePin(LED0_GPIO, LED0_PIN, GPIO_PIN_SET) |
| | | |
| | | #define LED_LR_ON HAL_GPIO_WritePin(LED2_R_GPIO_Port, LED2_R_Pin, GPIO_PIN_SET) |
| | | #define LED_LR_OFF HAL_GPIO_WritePin(LED2_R_GPIO_Port, LED2_R_Pin, GPIO_PIN_RESET) |