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

Go to the source code of this file.

Enumerations

enum  BUTTON_ID { BASEBOARD_SLED_BUTTON = 0x00 , SLOT1_SLOT_BUTTON = 0x01 , SLOT3_SLOT_BUTTON = 0x03 }
 
enum  SLOT_12V_STATUS { SLOT_12V_OFF = 0x00 , SLOT_12V_ON = 0x01 }
 

Functions

void control_slot_12V_power (uint8_t slot_id, uint8_t control_mode)
 
void submit_button_event (uint8_t button_id, uint8_t target_slot, uint8_t event_type)
 

Enumeration Type Documentation

◆ BUTTON_ID

enum BUTTON_ID
Enumerator
BASEBOARD_SLED_BUTTON 
SLOT1_SLOT_BUTTON 
SLOT3_SLOT_BUTTON 

◆ SLOT_12V_STATUS

Enumerator
SLOT_12V_OFF 
SLOT_12V_ON 

Function Documentation

◆ control_slot_12V_power()

void control_slot_12V_power ( uint8_t  slot_id,
uint8_t  control_mode 
)
Here is the call graph for this function:

◆ submit_button_event()

void submit_button_event ( uint8_t  button_id,
uint8_t  target_slot,
uint8_t  event_type 
)
Here is the call graph for this function: