OpenBIC
OpenSource Bridge-IC
plat_isr.h File Reference
#include <stdint.h>
Include dependency graph for plat_isr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_PRESS_SLED_BTN_TIME_S   4
 
#define MAX_RE_ENABLE_USB_POWER_TIME_MS   250
 
#define MAX_PRESS_SLOT_BTN_TIME_S   4
 
#define MAX_BUTTON_12V_CYCLE_INTERVAL_TIME_MS   2000
 
#define ADD_BUTTON_SEL_DELAY_MS   500
 
#define SYSTEM_PRESENT   0x0
 
#define SYSTEM_ABSENT   0x1
 
#define CABLE_PRESENT   0x0
 
#define CABLE_ABSENT   0x1
 

Functions

void ISR_PWROK_SLOT1 ()
 
void ISR_PWROK_SLOT3 ()
 
void ISR_SLED_CYCLE ()
 
void ISR_SLOT1_PRESENT ()
 
void ISR_SLOT3_PRESENT ()
 
void ISR_USB_POWER_LOST ()
 
void ISR_SLOT1_BUTTON ()
 
void ISR_SLOT3_BUTTON ()
 
void set_BIC_slot_isolator (uint8_t pwr_state_gpio_num, uint8_t isolator_gpio_num)
 
void set_sled_cycle ()
 

Macro Definition Documentation

◆ ADD_BUTTON_SEL_DELAY_MS

#define ADD_BUTTON_SEL_DELAY_MS   500

◆ CABLE_ABSENT

#define CABLE_ABSENT   0x1

◆ CABLE_PRESENT

#define CABLE_PRESENT   0x0

◆ MAX_BUTTON_12V_CYCLE_INTERVAL_TIME_MS

#define MAX_BUTTON_12V_CYCLE_INTERVAL_TIME_MS   2000

◆ MAX_PRESS_SLED_BTN_TIME_S

#define MAX_PRESS_SLED_BTN_TIME_S   4

◆ MAX_PRESS_SLOT_BTN_TIME_S

#define MAX_PRESS_SLOT_BTN_TIME_S   4

◆ MAX_RE_ENABLE_USB_POWER_TIME_MS

#define MAX_RE_ENABLE_USB_POWER_TIME_MS   250

◆ SYSTEM_ABSENT

#define SYSTEM_ABSENT   0x1

◆ SYSTEM_PRESENT

#define SYSTEM_PRESENT   0x0

Function Documentation

◆ ISR_PWROK_SLOT1()

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

◆ ISR_PWROK_SLOT3()

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

◆ ISR_SLED_CYCLE()

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

◆ ISR_SLOT1_BUTTON()

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

◆ ISR_SLOT1_PRESENT()

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

◆ ISR_SLOT3_BUTTON()

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

◆ ISR_SLOT3_PRESENT()

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

◆ ISR_USB_POWER_LOST()

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

◆ set_BIC_slot_isolator()

void set_BIC_slot_isolator ( uint8_t  pwr_state_gpio_num,
uint8_t  isolator_gpio_num 
)
Here is the call graph for this function:

◆ set_sled_cycle()

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