HPM SDK
HPMicro Software Development Kit
hpm_gpiom_drv.h File Reference
#include "hpm_gpiom_regs.h"
#include "hpm_gpiom_soc_drv.h"

Go to the source code of this file.

Typedefs

typedef enum gpiom_pin_visibility gpiom_pin_visibility_t
 

Enumerations

enum  gpiom_pin_visibility { gpiom_pin_visible = 0 , gpiom_pin_invisible = 1 }
 

Functions

static gpiom_gpio_t gpiom_get_pin_controller (GPIOM_Type *ptr, uint8_t gpio_index, uint8_t pin_index)
 Get pin's controller. More...
 
static void gpiom_set_pin_controller (GPIOM_Type *ptr, uint8_t gpio_index, uint8_t pin_index, gpiom_gpio_t gpio)
 set pin's controller More...
 
static bool gpiom_check_pin_visibility (GPIOM_Type *ptr, uint8_t gpio_index, uint8_t pin_index, gpiom_gpio_t gpio)
 Check if pin is visibility for specified module. More...
 
static void gpiom_enable_pin_visibility (GPIOM_Type *ptr, uint8_t gpio_index, uint8_t pin_index, gpiom_gpio_t gpio)
 enable pin visibility for specified module More...
 
static void gpiom_disable_pin_visibility (GPIOM_Type *ptr, uint8_t gpio_index, uint8_t pin_index, gpiom_gpio_t gpio)
 disable pin visibility for specified module More...
 
static bool gpiom_pin_is_locked (GPIOM_Type *ptr, uint8_t gpio_index, uint8_t pin_index)
 Check if pin management is locked. More...
 
static void gpiom_lock_pin (GPIOM_Type *ptr, uint8_t gpio_index, uint8_t pin_index)
 lock pin management More...