monoZ docs
MZ_gpio.h File Reference

This file includes Monoz GPIO Related APIs. More...

#include "MZ_public.h"
#include "MZ_error_handler.h"

Go to the source code of this file.

Data Structures

struct  MZ_GPIOX
 

Macros

#define MZ_GPIO_H_
 Defines Inc Monoz GPIO file. More...
 

Typedefs

typedef _mz_fp _gpio_api
 use _gpio_api as monoZ function pointer More...
 
typedef MZ_GPIOX MZ_GPIOX_BTYPE
 [TODO] More...
 
typedef MZ_GPIOXMZ_GPIOX_BTYPE_PTR
 [TODO] More...
 

Functions

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

Detailed Description

This file includes Monoz GPIO Related APIs.

Author
Mahendra & Kafeel
Date
Mar 15 2022

Definition in file MZ_gpio.h.

Macro Definition Documentation

◆ MZ_GPIO_H_

#define MZ_GPIO_H_

Defines Inc Monoz GPIO file.

Definition at line 9 of file MZ_gpio.h.

Typedef Documentation

◆ _gpio_api

use _gpio_api as monoZ function pointer

Monoz Function Pointer

Definition at line 22 of file MZ_gpio.h.

◆ MZ_GPIOX_BTYPE

[TODO]

Definition at line 37 of file MZ_gpio.h.

◆ MZ_GPIOX_BTYPE_PTR

[TODO]

Definition at line 44 of file MZ_gpio.h.