подтянула хэдер конфигурирования файлов

This commit is contained in:
KLASSENTS 2025-01-17 09:59:09 +07:00
parent ff4c3a26a5
commit befaa18a4c

View File

@ -5,6 +5,7 @@
#include "mik32_hal_gpio.h" #include "mik32_hal_gpio.h"
#include "mik32_hal_scr1_timer.h" #include "mik32_hal_scr1_timer.h"
#include "mik32_hal_timer16.h" #include "mik32_hal_timer16.h"
#include "pad_config.h"
// ----------------- COMMON ----------------- // // ----------------- COMMON ----------------- //
// convert pin mask from HAL_PinsTypeDef to pin number // convert pin mask from HAL_PinsTypeDef to pin number
@ -63,6 +64,4 @@
#define PIN_SET_PAD_CONFIG(portReg, pinNumber, value) (PAD_CONFIG->portReg = (PAD_CONFIG->portReg & (~PAD_CONFIG_PIN_M(pinNumber))) \ #define PIN_SET_PAD_CONFIG(portReg, pinNumber, value) (PAD_CONFIG->portReg = (PAD_CONFIG->portReg & (~PAD_CONFIG_PIN_M(pinNumber))) \
| PAD_CONFIG_PIN(pinNumber, value)) | PAD_CONFIG_PIN(pinNumber, value))
#endif /* _WIRING_LL_H_ */ #endif /* _WIRING_LL_H_ */