--ll
This commit is contained in:
@@ -57,6 +57,7 @@ void MX_GPIO_Init(void)
|
||||
LL_GPIO_ResetOutputPin(READER_EN_GPIO_Port, READER_EN_Pin);
|
||||
|
||||
/**/
|
||||
LL_GPIO_ResetOutputPin(ZUMMER_PINOUT_GPIO_Port, ZUMMER_PINOUT_Pin);
|
||||
|
||||
/**/
|
||||
LL_EXTI_SetEXTISource(LL_EXTI_CONFIG_PORTA, LL_EXTI_CONFIG_LINE0);
|
||||
@@ -107,7 +108,12 @@ void MX_GPIO_Init(void)
|
||||
LL_GPIO_Init(READER_EN_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/**/
|
||||
|
||||
GPIO_InitStruct.Pin = ZUMMER_PINOUT_Pin;
|
||||
GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
|
||||
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
|
||||
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
|
||||
GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
|
||||
LL_GPIO_Init(ZUMMER_PINOUT_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user