добавлена функция возвращающая ссылку на адрес OUTPUT регистра GPIO

This commit is contained in:
Ogneyar committed 2024-08-21 14:00:47 +03:00
1 parent 321d083288
commit 24d402bdc9
2 files changed
+8

No files matched your search

+2
View File
@@ -62,6 +62,8 @@ GPIO_TypeDef* digitalPinToPort(uint32_t digPinNumber);
HAL_PinsTypeDef digitalPinToBitMask(uint32_t digPinNumber);
// оtotal number of pins available for initialization
uint16_t pinCommonQty(void);
// the function returns a reference to the OUTPUT address of the GPIO register
uint32_t* portOutputRegister(GPIO_TypeDef* GPIO_x);
// ADC
// determines the ADC channel number by the board pin number