GPIOM driver APIs.
More...
|
| enum | gpiom_pin_visibility { gpiom_pin_visible = 0
, gpiom_pin_invisible = 1
} |
| |
| enum | gpiom_gpio {
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
,
gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
, gpiom_core0_fast = 2
, gpiom_core1_fast = 3
,
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 1
, gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
,
gpiom_core0_fast = 2
, gpiom_core1_fast = 3
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
} |
| |
| enum | gpiom_gpio {
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
,
gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
, gpiom_core0_fast = 2
, gpiom_core1_fast = 3
,
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 1
, gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
,
gpiom_core0_fast = 2
, gpiom_core1_fast = 3
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
} |
| |
| enum | gpiom_gpio {
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
,
gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
, gpiom_core0_fast = 2
, gpiom_core1_fast = 3
,
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 1
, gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
,
gpiom_core0_fast = 2
, gpiom_core1_fast = 3
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
} |
| |
| enum | gpiom_gpio {
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
,
gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
, gpiom_core0_fast = 2
, gpiom_core1_fast = 3
,
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 1
, gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
,
gpiom_core0_fast = 2
, gpiom_core1_fast = 3
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
} |
| |
| enum | gpiom_gpio {
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
,
gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
, gpiom_core0_fast = 2
, gpiom_core1_fast = 3
,
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 1
, gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
,
gpiom_core0_fast = 2
, gpiom_core1_fast = 3
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
} |
| |
| enum | gpiom_gpio {
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
,
gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
, gpiom_core0_fast = 2
, gpiom_core1_fast = 3
,
gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 1
, gpiom_soc_gpio0 = 0
, gpiom_soc_gpio1 = 1
,
gpiom_core0_fast = 2
, gpiom_core1_fast = 3
, gpiom_soc_gpio0 = 0
, gpiom_core0_fast = 2
} |
| |
|
| 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...
|
| |
GPIOM driver APIs.
◆ gpiom_gpio_t [1/6]
◆ gpiom_gpio_t [2/6]
◆ gpiom_gpio_t [3/6]
◆ gpiom_gpio_t [4/6]
◆ gpiom_gpio_t [5/6]
◆ gpiom_gpio_t [6/6]
◆ gpiom_pin_visibility_t
◆ gpiom_gpio [1/6]
#include <soc/HPM5301/hpm_gpiom_soc_drv.h>
| Enumerator |
|---|
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
◆ gpiom_gpio [2/6]
#include <soc/HPM5361/hpm_gpiom_soc_drv.h>
| Enumerator |
|---|
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
◆ gpiom_gpio [3/6]
#include <soc/HPM6280/hpm_gpiom_soc_drv.h>
| Enumerator |
|---|
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
◆ gpiom_gpio [4/6]
#include <soc/HPM6360/hpm_gpiom_soc_drv.h>
| Enumerator |
|---|
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
◆ gpiom_gpio [5/6]
#include <soc/HPM6750/hpm_gpiom_soc_drv.h>
| Enumerator |
|---|
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
◆ gpiom_gpio [6/6]
#include <soc/HPM6880/hpm_gpiom_soc_drv.h>
| Enumerator |
|---|
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
| gpiom_soc_gpio0 | |
| gpiom_soc_gpio1 | |
| gpiom_core0_fast | |
| gpiom_core1_fast | |
| gpiom_soc_gpio0 | |
| gpiom_core0_fast | |
◆ gpiom_pin_visibility
◆ gpiom_check_pin_visibility()
| static bool gpiom_check_pin_visibility |
( |
GPIOM_Type * |
ptr, |
|
|
uint8_t |
gpio_index, |
|
|
uint8_t |
pin_index, |
|
|
gpiom_gpio_t |
gpio |
|
) |
| |
|
inlinestatic |
#include <drivers/inc/hpm_gpiom_drv.h>
Check if pin is visibility for specified module.
- Parameters
-
| ptr | GPIOM base address |
| gpio_index | gpio port index |
| pin_index | pin index |
| gpio | gpio module index |
- Return values
-
| true | if pin is visible by specified module |
| false | if pin is not visible by specified module |
◆ gpiom_disable_pin_visibility()
| static void gpiom_disable_pin_visibility |
( |
GPIOM_Type * |
ptr, |
|
|
uint8_t |
gpio_index, |
|
|
uint8_t |
pin_index, |
|
|
gpiom_gpio_t |
gpio |
|
) |
| |
|
inlinestatic |
#include <drivers/inc/hpm_gpiom_drv.h>
disable pin visibility for specified module
- Parameters
-
| ptr | GPIOM base address |
| gpio_index | gpio port index |
| pin_index | pin index |
| gpio | gpio module index |
◆ gpiom_enable_pin_visibility()
| static void gpiom_enable_pin_visibility |
( |
GPIOM_Type * |
ptr, |
|
|
uint8_t |
gpio_index, |
|
|
uint8_t |
pin_index, |
|
|
gpiom_gpio_t |
gpio |
|
) |
| |
|
inlinestatic |
#include <drivers/inc/hpm_gpiom_drv.h>
enable pin visibility for specified module
- Parameters
-
| ptr | GPIOM base address |
| gpio_index | gpio port index |
| pin_index | pin index |
| gpio | gpio module index |
◆ gpiom_get_pin_controller()
#include <drivers/inc/hpm_gpiom_drv.h>
Get pin's controller.
- Parameters
-
| ptr | GPIOM base address |
| gpio_index | gpio port index |
| pin_index | pin index |
- Return values
-
◆ gpiom_lock_pin()
| static void gpiom_lock_pin |
( |
GPIOM_Type * |
ptr, |
|
|
uint8_t |
gpio_index, |
|
|
uint8_t |
pin_index |
|
) |
| |
|
inlinestatic |
#include <drivers/inc/hpm_gpiom_drv.h>
lock pin management
- Parameters
-
| ptr | GPIOM base address |
| gpio_index | gpio port index |
| pin_index | pin index |
◆ gpiom_pin_is_locked()
| static bool gpiom_pin_is_locked |
( |
GPIOM_Type * |
ptr, |
|
|
uint8_t |
gpio_index, |
|
|
uint8_t |
pin_index |
|
) |
| |
|
inlinestatic |
#include <drivers/inc/hpm_gpiom_drv.h>
Check if pin management is locked.
- Parameters
-
| ptr | GPIOM base address |
| gpio_index | gpio port index |
| pin_index | pin index |
- Return values
-
| true | if pin management is locked |
| false | if pin management is not locked |
◆ gpiom_set_pin_controller()
| static void gpiom_set_pin_controller |
( |
GPIOM_Type * |
ptr, |
|
|
uint8_t |
gpio_index, |
|
|
uint8_t |
pin_index, |
|
|
gpiom_gpio_t |
gpio |
|
) |
| |
|
inlinestatic |
#include <drivers/inc/hpm_gpiom_drv.h>
set pin's controller
- Parameters
-
| ptr | GPIOM base address |
| gpio_index | gpio port index |
| pin_index | pin index |
| gpio | gpio module index |