![]() |
Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
| void | Run_SER_ASync_Loopback (int32_t cardIndex, int32_t module, uint32_t moduleID) |
The purpose of the Serial Loopback Asynchronous Sample Application is to illustrate the methods to call in the naibrd library to configure a given serial channel for loopback transmission. The application will write data to the selected serial channel's transmit buffer, transmit it via an internal loopback, and receive and print the data.
| void Run_SER_ASync_Loopback | ( | int32_t | cardIndex, |
| int32_t | module, | ||
| uint32_t | moduleID ) |
Configures a serial module for asynchronous internal loopback transmission. The user is queried for the serial channel to perform this transmission on.
| cardIndex | (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
| module | (Input) Module Number of the module to access (1 - [max modules for board]). |
| moduleID | (Input) The ID of the module. |