ANR-C236N1-K Series User Manual
49
www.acrosser.com
4.3.5. Power Supply Unit (PMBUS)
Syntax:
float pmbus_read_vout_12V(void)
Description:
This function can get power supply unit Vout 12V.
Parameters:
None.
Return Value:
float Vout 12V
Syntax:
float pmbus_read_vout_3V3(void)
Description:
This function can get power supply unit Vout 3.3V.
Parameters:
None.
Return Value:
float Vout 3.3V
Syntax:
float pmbus_read_vout_5V(void)
Description:
This function can get power supply unit Vout 5V.
Parameters:
None.
Return Value:
float Vout 5V
Syntax:
int get_pmbus_psu_status(int psu)
Description:
This function can get which power supply unit status.
Parameters:
psu: 0-1
Return Value:
0: Good, 1: Fail
4.3.6. Pmbus Command Code Summary
Support Command Code Table:
Command
Code
Command Name
Data Format
Number of
Data Bytes
03h
CLEAR_FAULTS(1)
Send Byte
0
20h
VOUT_MODE
Read Byte
1
79h
STATUS_WORD
Read Word
2
7Ah
STATUS_VOUT
Read Byte
1
7Bh
STATUS_IOUT
Read Byte
1
7Dh
STATUS_TEMPERATURE
Read Byte
1
80h
STATUS_OF_3V3 And 5V
Read Byte
1
8Bh
READ_+12V_VOUT
Read VOUT Mode
2
8Ch
READ_+12V_IOUT
Read Linear
2