Обновление

This commit is contained in:
cfif 2026-02-02 15:19:22 +03:00
parent 662e0b43a3
commit 82beb2ab69
2 changed files with 8 additions and 2 deletions

View File

@ -15,13 +15,19 @@
#define GPIO_PIN_NOREVERSE false
#define GPIO_PIN_REVERSE true
typedef enum
{
GPIO_OPEN_DRAIN = 0,
GPIO_PUSH_PULL = 1
} eType_PUSH_PULL_OPEN_DARIN;
tGpioPin vInitGpioPinPull(
GPIO_InstanceType port,
uint32_t pinMask,
GPIO_PinDirectionType direction,
bool reverse,
GPIO_PinLevelType ePinLevel,
bool bPullEn,
eType_PUSH_PULL_OPEN_DARIN bPullEn,
PORT_PullStatusType ePullSel
);

View File

@ -9,7 +9,7 @@ tGpioPin vInitGpioPinPull(
GPIO_PinDirectionType direction,
bool reverse,
GPIO_PinLevelType ePinLevel,
bool bPullEn,
eType_PUSH_PULL_OPEN_DARIN bPullEn,
PORT_PullStatusType ePullSel
) {
PORT_InitType tInitStruct = {0};