Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC naibrd_1760_t NAIAPI | naibrd_1760_SetEEPROMUnlock (int16_t swDevice) |
Write 2-part "unlock code" to address 0x4E to enable writes to EEPROM for RT1 auto-initialization. Note that the RT1ENA bit 6 in the Master Configuration Register 0x0 must be set to 1 while RT1STEX bit 4 is set to 0 before this function is called. | |
NAIBRDFUNC naibrd_1760_t NAIAPI | naibrd_1760_SetEECOPY (int16_t swDevice, bool_t assert) |
Sets the EEPROM Copy Input. The EECOPY input pin must be driven high for at least 1 ms, then driven low to write to EEPROM. The READY output goes low, indicating EEPROM is being written to. EEPROM copy is complete when the READY output goes high. | |
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_SetEECOPY | ( | int16_t | swDevice, |
bool_t | assert ) |
Sets the EEPROM Copy Input. The EECOPY input pin must be driven high for at least 1 ms, then driven low to write to EEPROM. The READY output goes low, indicating EEPROM is being written to. EEPROM copy is complete when the READY output goes high.
NOTE: To copy to EEPROM successfully after power-up, the device must be reset at least once via software by setting and resetting the Master Reset bit. This is automatically performed in the call to naibrd_1760_Initialize().
swDevice | : (Input) Logical Device Number (0-31). |
assert | : (Input) NAI_TRUE to assert, NAI_FALSE to drive low. |
NAIBRDFUNC naibrd_1760_t NAIAPI naibrd_1760_SetEEPROMUnlock | ( | int16_t | swDevice | ) |
Write 2-part "unlock code" to address 0x4E to enable writes to EEPROM for RT1 auto-initialization. Note that the RT1ENA bit 6 in the Master Configuration Register 0x0 must be set to 1 while RT1STEX bit 4 is set to 0 before this function is called.
After this function is called, the EECOPY input pin must be driven high for at least 1 ms, then driven low to write to EEPROM. The READY output goes low, indicating EEPROM is being written to. EEPROM copy is complete when the READY output goes high.
NOTE: To copy to EEPROM successfully after power-up, the device must be reset at least once via software by setting and resetting the Master Reset bit. This is automatically performed in the call to naibrd_1760_Initialize().
swDevice | : (Input) Logical Device Number (0-31). |