OpenBIC
OpenSource Bridge-IC
plat_class.h File Reference
#include "hal_gpio.h"
#include "plat_gpio.h"
Include dependency graph for plat_class.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  PALTFORM_BOARD_ID { FM_BOARD_ID_0 = BOARD_ID0 , FM_BOARD_ID_1 = BOARD_ID1 , FM_BOARD_ID_2 = BOARD_ID2 , FM_BOARD_ID_3 = BOARD_ID3 }
 
enum  E1S_CONFIG_HSC { CONFIG_HSC_ADM1278 = 0x00 , CONFIG_HSC_MAXIN , CONFIG_HSC_MPS , CONFIG_HSC_BYPASS }
 
enum  E1S_CONFIG_ADC { CONFIG_ADC_INA231 = 0x00 , CONFIG_ADC_ISL28022 }
 

Functions

void init_platform_config ()
 
void init_e1s_config ()
 
void init_sys_board_id (uint8_t board_id)
 
uint8_t get_board_id ()
 
uint8_t get_e1s_hsc_config ()
 
uint8_t get_e1s_adc_config ()
 
uint8_t get_e1s_pwrgd ()
 

Enumeration Type Documentation

◆ E1S_CONFIG_ADC

Enumerator
CONFIG_ADC_INA231 
CONFIG_ADC_ISL28022 

◆ E1S_CONFIG_HSC

Enumerator
CONFIG_HSC_ADM1278 
CONFIG_HSC_MAXIN 
CONFIG_HSC_MPS 
CONFIG_HSC_BYPASS 

◆ PALTFORM_BOARD_ID

Enumerator
FM_BOARD_ID_0 
FM_BOARD_ID_1 
FM_BOARD_ID_2 
FM_BOARD_ID_3 

Function Documentation

◆ get_board_id()

uint8_t get_board_id ( )

◆ get_e1s_adc_config()

uint8_t get_e1s_adc_config ( )

◆ get_e1s_hsc_config()

uint8_t get_e1s_hsc_config ( )

◆ get_e1s_pwrgd()

uint8_t get_e1s_pwrgd ( )
Here is the call graph for this function:

◆ init_e1s_config()

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

◆ init_platform_config()

void init_platform_config ( )

◆ init_sys_board_id()

void init_sys_board_id ( uint8_t  board_id)