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.
9 lines
341 B
9 lines
341 B
|
|
#pragma once
|
|
#include "gpio.h"
|
|
|
|
#define DebugLight_ON HAL_GPIO_WritePin(GPIOE, GPIO_PIN_2, GPIO_PIN_RESET)
|
|
#define DebugLight_OFF HAL_GPIO_WritePin(GPIOE, GPIO_PIN_2, GPIO_PIN_SET)
|
|
#define DebugLight_Read HAL_GPIO_ReadPin(GPIOE, GPIO_PIN_2)
|
|
#define DebugLight_Toggle HAL_GPIO_TogglePin(GPIOE, GPIO_PIN_2)
|
|
void debuglightloop(void);
|