Functions to identify the GaIA Controller version and the expansion boards installed.
More...
Functions to identify the GaIA Controller version and the expansion boards installed.
◆ gwa_get_hw_revision()
| uint16_t gwa_get_hw_revision |
( |
void | | ) |
|
Returns the hardware revision number.
- Returns
- the hardware revision number.
◆ gwa_get_hw_revision_idx()
| uint32_t gwa_get_hw_revision_idx |
( |
void | | ) |
|
Returns the hardware revision number array index.
- Returns
- the hardware revision number array index.
◆ gwa_get_mac_addr()
| const uint8_t * gwa_get_mac_addr |
( |
uint8_t | mac_number | ) |
|
Returns the MAC address of the board.
- Parameters
-
| mac_number | - interface number for the mac address. |
- Returns
- a 6-byte array containing the MAC address of the board.
◆ gwa_get_product()
| const char * gwa_get_product |
( |
void | | ) |
|
Returns the product name of this board.
- Returns
- the 8-character product name string of this board.
◆ gwa_get_serial_number()
| const char * gwa_get_serial_number |
( |
void | | ) |
|
Returns the serial number of this board.
- Returns
- the 12-character serial number string of this board.
◆ gwa_get_serial_value()
| int gwa_get_serial_value |
( |
uint32_t * | serno | ) |
|
Returns the serial number value of this board.
- Parameters
-
| serno | buffer to store the serial number. |
- Returns
- the serial number of this board converted into a 32 bit unsigned integer.