User's Guide
II-VI Incorporated
375 Saxonburg Boulevard
Saxonburg, PA 16056
T. 724.352.4455 | F. 724.352.5284 | www.ii-vi.com
1
Init - Custom API
int SFPInterfaceInit(void)
2
DeInit - Custom
API
int SFPInterfaceDeInit(void)
3
Read Byte
int SFPReadByte(uint8_t
i_ui8_deviceAddress, uint8_t
i_ui8_registerAddress, uint8_t*
o_ui8_data)
4
Read Word
int SFPReadWord(uint8_t
i_ui8_deviceAddress, uint8_t
i_ui8_registerAddress, uint16_t*
o_ui16_data)
5
Write Byte
int SFPWriteByte(uint8_t
i_ui8_deviceAddress, uint8_t
i_ui8_registerAddress, uint8_t i_ui8_data)
6
Write Word
int SFPWriteWord(uint8_t
i_ui8_deviceAddress, uint8_t
i_ui8_registerAddress, uint16_t
i_ui16_data)
7
Page Read
int SFPPageRead(uint8_t
i_ui8_deviceAddress, uint8_t
i_ui8_registerAddress, uint16_t i_ui16_n,
uint8_t *o_ui8_data)
SFPPageRead API performs
read operation for maximum
63 Bytes chunk due to MRAA
library limitation.
8
Page Write
int SFPPageWrite(uint8_t
i_ui8_deviceAddress, uint8_t
i_ui8_registerAddress, uint16_t i_ui16_n,
const uint8_t* i_ui8_data)
SFPPageWrite API performs
write operation for maximum
8 Bytes chunk.
9
Read MOD ABS
int SFPReadModABS(bool *o_b_mode)
10
Read Tx Fault
int SFPReadTxFault(bool *o_b_fault)
11
Read LOS
int SFPReadLOS(bool *o_b_los)
12
Read Tx Disable
int SFPReadTxDisable(bool
*o_b_tx_disable)
13
Set Tx Disable
value
int SFPSetTxDisable(bool i_b_status)
Pass 1 to set TxDisable thus
disable Tx laser; pass 0 to
clear TxDisable thus enable
Tx laser.
14
SFP Power
Operation
int SFPPower(E_SFPPOWERSWITCH
i_e_switch)
15
Get SFP Power
Status
int getSFPStatus(void)
Possible values:
SFP_DEVICE_ON,
SFP_DEVICE_OFF,
SFP_DEVICE_POWERING_UP,
SFP_DEVICE_POWERING_OFF