-For monoZ GPIO refer MZ_gpio.h file.
More...
-For monoZ GPIO refer MZ_gpio.h file.
◆ MZ_GPIO_ReadPin()
This function is used to Read the specific input port Pin.
- Parameters
-
MZ_GPIOX_BTYPE_PTR | |
GPIO_Pin | uint16_t |
- Returns
- MZ_OK/MZ_FAIL
◆ MZ_GPIO_WritePin()
This function is used to Set the input/output to the specific pin.
- Parameters
-
GPIOx | MZ_GPIOX_BTYPE_PTR |
GPIO_Pin | uint16_t |
PinState | GPIO_PinState |
- Returns
- MZ_OK/MZ_FAIL
◆ MZ_GPIO_TogglePin()
This function is used to Set the toggling to the specific pin.
- Parameters
-
GPIOx | MZ_GPIOX_BTYPE_PTR |
GPIO_Pin | uint16_t |
- Returns
- MZ_OK/MZ_FAIL
◆ MZ_GPIO_LockPin()
This function is used to set the specific gpio pin to be locked for particular operation.
- Parameters
-
MZ_GPIOX_BTYPE_PTR | |
GPIO_Pin | uint16_t |
- Returns
- MZ_OK/MZ_FAIL
◆ MZ_GPIO_EXTI_IRQHandler()
mz_error_t MZ_GPIO_EXTI_IRQHandler |
( |
uint16_t |
GPIO_Pin | ) |
|
This function is used to set the gpio pin for External Interrupt handler.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL
◆ MZ_GPIO_EXTI_Callback()
mz_error_t MZ_GPIO_EXTI_Callback |
( |
uint16_t |
GPIO_Pin | ) |
|
This function is used to set the gpio pin for External callback.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL
◆ MZ_GPIO_Init()
This function is used for initilization of gpio with specific settings.
- Parameters
-
GPIOx | MZ_GPIOX_BTYPE_PTR |
GPIO_Init | *MZ_GPIO_INIT_ST |
- Returns
- MZ_OK/MZ_FAIL
◆ MZ_GPIO_DeInit()
This function is used for de-initilization of gpio with reset settings.
- Parameters
-
GPIOx | MZ_GPIOX_BTYPE_PTR |
GPIO_Pin | uint32_t |
- Returns
- MZ_OK/MZ_FAIL