Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC naibrd_1553_reg_value_t NAIAPI | naibrd_1553_ReadRegister (int16_t device, naibrd_1553_general_registerAddress_t registerAddress) |
Reads a register on the device at the specified memory location. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_WriteRegister (int16_t device, naibrd_1553_general_registerAddress_t registerAddress, naibrd_1553_reg_value_t registerValue) |
Writes to the specified register location. | |
NAIBRDFUNC naibrd_1553_aux_reg_value_t NAIAPI | naibrd_1553_ReadAuxRegister (int16_t device, naibrd_1553_general_auxRegAddress_t auxRegisterAddress) |
Reads an Auxiliary register on the device at the specified memory location. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_WriteAuxRegister (int16_t device, naibrd_1553_general_auxRegAddress_t auxRegisterAddress, naibrd_1553_aux_reg_value_t auxRegisterValue) |
Writes to the specified auxiliary register location. | |
NAIBRDFUNC uint16_t NAIAPI | naibrd_1553_ReadMemory (int16_t device, uint32_t deviceMemoryAddress) |
Reads a memory location. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_WriteMemory (int16_t device, uint32_t deviceMemoryAddress, uint16_t deviceMemoryValue) |
Writes to the specified memory location. | |
NAIBRDFUNC uint32_t NAIAPI | naibrd_1553_ReadIntRegister (int16_t device, naibrd_1553_general_intRegAddress_t intRegisterAddress) |
Reads an Interrupt register on the device at the specified memory location. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_WriteIntRegister (int16_t device, naibrd_1553_general_intRegAddress_t intRegisterAddress, uint32_t intRegisterValue) |
Writes to the specified interrupt register location. | |
NAIBRDFUNC naibrd_1553_aux_reg_value_t NAIAPI naibrd_1553_ReadAuxRegister | ( | int16_t | device, |
naibrd_1553_general_auxRegAddress_t | auxRegisterAddress ) |
Reads an Auxiliary register on the device at the specified memory location.
device | : (Input) Logical Device Number (0-31). |
auxRegisterAddress | (Input) Specifies the register address to be read (0-15). |
NAIBRDFUNC uint32_t NAIAPI naibrd_1553_ReadIntRegister | ( | int16_t | device, |
naibrd_1553_general_intRegAddress_t | intRegisterAddress ) |
Reads an Interrupt register on the device at the specified memory location.
device | : (Input) Logical Device Number (0-31). |
intRegisterAddress | (Input) Specifies the register address to be read (0-3). |
NAIBRDFUNC uint16_t NAIAPI naibrd_1553_ReadMemory | ( | int16_t | device, |
uint32_t | deviceMemoryAddress ) |
Reads a memory location.
device | : (Input) Logical Device Number (0-31). |
deviceMemoryAddress | (Input) Specifies the memory location to read. |
NAIBRDFUNC naibrd_1553_reg_value_t NAIAPI naibrd_1553_ReadRegister | ( | int16_t | device, |
naibrd_1553_general_registerAddress_t | registerAddress ) |
Reads a register on the device at the specified memory location.
device | : (Input) Logical Device Number (0-31). |
registerAddress | (Input) Specifies the register address to be read (0-63). |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_WriteAuxRegister | ( | int16_t | device, |
naibrd_1553_general_auxRegAddress_t | auxRegisterAddress, | ||
naibrd_1553_aux_reg_value_t | auxRegisterValue ) |
Writes to the specified auxiliary register location.
device | : (Input) Logical Device Number (0-31). |
auxRegisterAddress | (Input) Specifies the auxiliary register address to be read (0-15). |
auxRegisterValue | (Input) Value to be written to the auxiliary register. |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_WriteIntRegister | ( | int16_t | device, |
naibrd_1553_general_intRegAddress_t | intRegisterAddress, | ||
uint32_t | intRegisterValue ) |
Writes to the specified interrupt register location.
device | : (Input) Logical Device Number (0-31). |
intRegisterAddress | (Input) Specifies the interrupt register address to write (0-3). |
intRegisterValue | (Input) Value to be written to the interrupt register. |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_WriteMemory | ( | int16_t | device, |
uint32_t | deviceMemoryAddress, | ||
uint16_t | deviceMemoryValue ) |
Writes to the specified memory location.
device | : (Input) Logical Device Number (0-31). |
deviceMemoryAddress | (Input) Specifies the memory location to write to. |
deviceMemoryValue | (Input) Value to be written. |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_WriteRegister | ( | int16_t | device, |
naibrd_1553_general_registerAddress_t | registerAddress, | ||
naibrd_1553_reg_value_t | registerValue ) |
Writes to the specified register location.
device | : (Input) Logical Device Number (0-31). |
registerAddress | (Input) Specifies the register address to be read (0-63). |
registerValue | (Input) Value to be written to the register. |