OpenBIC
OpenSource Bridge-IC
plat_gpio.c File Reference
#include <zephyr.h>
#include <stdio.h>
#include <string.h>
#include "cmsis_os.h"
#include "hal_gpio.h"
#include "plat_gpio.h"
#include "plat_isr.h"
#include <logging/log.h>
Include dependency graph for plat_gpio.c:

Macros

#define gpio_name_to_num(x)   #x,
 

Functions

 LOG_MODULE_REGISTER (gpio)
 
bool pal_load_gpio_config (void)
 
void enable_PRDY_interrupt ()
 
void disable_PRDY_interrupt ()
 
void enable_UV_detect_interrupt ()
 
void disable_UV_detect_interrupt ()
 
void enable_SYS_Throttle_interrupt ()
 
void disable_SYS_Throttle_interrupt ()
 
uint8_t get_exported_gpio_num (uint8_t internal_gpio_num)
 

Variables

char * gpio_name []
 
GPIO_CFG plat_gpio_cfg []
 
uint8_t gpio_align_t []
 
int gpio_align_table_length = sizeof(gpio_align_t)
 

Macro Definition Documentation

◆ gpio_name_to_num

#define gpio_name_to_num (   x)    #x,

Function Documentation

◆ disable_PRDY_interrupt()

void disable_PRDY_interrupt ( )
Here is the call graph for this function:

◆ disable_SYS_Throttle_interrupt()

void disable_SYS_Throttle_interrupt ( )
Here is the call graph for this function:

◆ disable_UV_detect_interrupt()

void disable_UV_detect_interrupt ( )
Here is the call graph for this function:

◆ enable_PRDY_interrupt()

void enable_PRDY_interrupt ( )
Here is the call graph for this function:

◆ enable_SYS_Throttle_interrupt()

void enable_SYS_Throttle_interrupt ( )
Here is the call graph for this function:

◆ enable_UV_detect_interrupt()

void enable_UV_detect_interrupt ( )
Here is the call graph for this function:

◆ get_exported_gpio_num()

uint8_t get_exported_gpio_num ( uint8_t  internal_gpio_num)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( gpio  )

◆ pal_load_gpio_config()

bool pal_load_gpio_config ( void  )

Variable Documentation

◆ gpio_align_t

uint8_t gpio_align_t[]

◆ gpio_align_table_length

int gpio_align_table_length = sizeof(gpio_align_t)

◆ gpio_name

char* gpio_name[]
Initial value:
= {
}
#define name_gpioO
Definition: plat_gpio.h:157
#define name_gpioK
Definition: plat_gpio.h:120
#define name_gpioH
Definition: plat_gpio.h:93
#define name_gpioQ
Definition: plat_gpio.h:176
#define name_gpioR
Definition: plat_gpio.h:185
#define name_gpioP
Definition: plat_gpio.h:166
#define name_gpioE
Definition: plat_gpio.h:66
#define name_gpioL
Definition: plat_gpio.h:129
#define name_gpioC
Definition: plat_gpio.h:48
#define name_gpioD
Definition: plat_gpio.h:57
#define name_gpioT
Definition: plat_gpio.h:205
#define name_gpioN
Definition: plat_gpio.h:148
#define name_gpioM
Definition: plat_gpio.h:139
#define name_gpioI
Definition: plat_gpio.h:102
#define name_gpioB
Definition: plat_gpio.h:39
#define name_gpioJ
Definition: plat_gpio.h:111
#define name_gpioA
Definition: plat_gpio.h:30
#define name_gpioG
Definition: plat_gpio.h:84
#define name_gpioS
Definition: plat_gpio.h:195
#define name_gpioU
Definition: plat_gpio.h:215
@ name_gpioF
Definition: plat_gpio.h:176

◆ plat_gpio_cfg

GPIO_CFG plat_gpio_cfg[]