13 lines
403 B
C
13 lines
403 B
C
|
#include <main.h>
|
||
|
#include <loopCtrl.h>
|
||
|
|
||
|
void loopEnable() {
|
||
|
HAL_GPIO_WritePin(Loop_Enable_GPIO_Port, Loop_Enable_Pin, GPIO_PIN_SET);
|
||
|
HAL_GPIO_WritePin(Loop_Enable_GPIO_Port, Loop_Enable_Pin, GPIO_PIN_RESET);
|
||
|
}
|
||
|
|
||
|
void loopDisable() {
|
||
|
HAL_GPIO_WritePin(Loop_Disable_GPIO_Port, Loop_Disable_Pin, GPIO_PIN_SET);
|
||
|
HAL_GPIO_WritePin(Loop_Disable_GPIO_Port, Loop_Disable_Pin, GPIO_PIN_RESET);
|
||
|
}
|