EtherCAT SubDevice2.03.00
 
Loading...
Searching...
No Matches

◆ EC_SLV_APP_EEP_getBoardRevision()

bool EC_SLV_APP_EEP_getBoardRevision ( void *  pMagicKey,
uint8_t *  pBoardRevision 
)

Retrieves the board revision information from the EEPROM.

This function reads the board information block from EEPROM using block type identification and extracts the 2-byte design revision. The revision data is copied to the provided buffer if the read operation is successful.

Parameters
[in]pMagicKeyMagic key for EEPROM validation.
[out]pBoardRevisionPointer to store the 2-byte board revision.
Returns
bool True if board revision was read successfully, false otherwise.