Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
Serial Loopback - Synchronous

Functions

void Run_SER_HDLC_LOOPBACK (int32_t cardIndex, int32_t module, uint32_t moduleId)
 

Detailed Description

The purpose of the Serial Loopback Synchronous 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.

Function Documentation

◆ Run_SER_HDLC_LOOPBACK()

void Run_SER_HDLC_LOOPBACK ( int32_t cardIndex,
int32_t module,
uint32_t moduleId )

Configures a serial module for Synchronous internal loopback transmission. The user is queried for the serial channel to perform this transmission on.

Parameters
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.