Sign in
pigweed
/
third_party
/
github
/
32blit
/
32blit-sdk
/
3066a4eeef03e37a58bce26e21e14743fca0e7ce
/
.
/
32blit-stm32
/
Inc
/
main.h
blob: 97a6f8a60e2ea00d4c5e2ccdbc54e66c458ac33a [
file
]
#pragma
once
extern
"C"
{
#include
"stm32h7xx_hal.h"
void
Error_Handler
(
void
);
#define
HIGH
(
PORT
,
PIN
)
HAL_GPIO_WritePin
(
PORT
,
PIN
,
GPIO_PIN_SET
);
#define
LOW
(
PORT
,
PIN
)
HAL_GPIO_WritePin
(
PORT
,
PIN
,
GPIO_PIN_RESET
);
#define
DELAY
(
MS
)
HAL_Delay
(
MS
)
}