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

Macros

#define gpio_name_to_num(x)   #x,
 

Functions

 LOG_MODULE_REGISTER (plat_gpio)
 
void init_card_position_gpio ()
 
bool pal_load_gpio_config (void)
 

Variables

char * opa_gpio_name []
 
char * gpio_name []
 
GPIO_CFG plat_gpio_a_cfg []
 
GPIO_CFG plat_gpio_b_cfg []
 

Macro Definition Documentation

◆ gpio_name_to_num

#define gpio_name_to_num (   x)    #x,

Function Documentation

◆ init_card_position_gpio()

void init_card_position_gpio ( )

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_gpio  )

◆ pal_load_gpio_config()

bool pal_load_gpio_config ( void  )

Variable Documentation

◆ gpio_name

char* gpio_name[]
Initial value:
= {
}
#define OPB_name_gpioC
Definition: plat_gpio.h:260
#define OPB_name_gpioO
Definition: plat_gpio.h:380
#define OPB_name_gpioN
Definition: plat_gpio.h:370
#define OPB_name_gpioQ
Definition: plat_gpio.h:400
#define OPB_name_gpioL
Definition: plat_gpio.h:350
#define OPB_name_gpioB
Definition: plat_gpio.h:250
#define OPB_name_gpioG
Definition: plat_gpio.h:300
#define OPB_name_gpioJ
Definition: plat_gpio.h:330
#define OPB_name_gpioI
Definition: plat_gpio.h:320
#define OPB_name_gpioF
Definition: plat_gpio.h:290
#define OPB_name_gpioP
Definition: plat_gpio.h:390
#define OPB_name_gpioA
Definition: plat_gpio.h:240
#define OPB_name_gpioD
Definition: plat_gpio.h:270
#define OPB_name_gpioT
Definition: plat_gpio.h:430
#define OPB_name_gpioM
Definition: plat_gpio.h:360
#define OPB_name_gpioR
Definition: plat_gpio.h:410
#define OPB_name_gpioE
Definition: plat_gpio.h:280
@ OPB_name_gpioU
Definition: plat_gpio.h:467
#define OPB_name_gpioH
Definition: plat_gpio.h:310
#define OPB_name_gpioS
Definition: plat_gpio.h:420
#define OPB_name_gpioK
Definition: plat_gpio.h:340

◆ opa_gpio_name

char* opa_gpio_name[]
Initial value:
= {
}
#define OPA_name_gpioB
Definition: plat_gpio.h:39
#define OPA_name_gpioR
Definition: plat_gpio.h:199
#define OPA_name_gpioS
Definition: plat_gpio.h:209
#define OPA_name_gpioT
Definition: plat_gpio.h:219
#define OPA_name_gpioI
Definition: plat_gpio.h:109
#define OPA_name_gpioA
Definition: plat_gpio.h:29
#define OPA_name_gpioJ
Definition: plat_gpio.h:119
#define OPA_name_gpioL
Definition: plat_gpio.h:139
#define OPA_name_gpioC
Definition: plat_gpio.h:49
#define OPA_name_gpioP
Definition: plat_gpio.h:179
#define OPA_name_gpioM
Definition: plat_gpio.h:149
#define OPA_name_gpioK
Definition: plat_gpio.h:129
#define OPA_name_gpioN
Definition: plat_gpio.h:159
#define OPA_name_gpioQ
Definition: plat_gpio.h:189
@ OPA_name_gpioU
Definition: plat_gpio.h:459
#define OPA_name_gpioD
Definition: plat_gpio.h:59
#define OPA_name_gpioO
Definition: plat_gpio.h:169
#define OPA_name_gpioF
Definition: plat_gpio.h:79
#define OPA_name_gpioH
Definition: plat_gpio.h:99
#define OPA_name_gpioE
Definition: plat_gpio.h:69
#define OPA_name_gpioG
Definition: plat_gpio.h:89

◆ plat_gpio_a_cfg

GPIO_CFG plat_gpio_a_cfg[]

◆ plat_gpio_b_cfg

GPIO_CFG plat_gpio_b_cfg[]