Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
static int32_t | Run_DT_BasicInterrupt (int32_t cardIndex, int32_t module, uint32_t modid) |
Run_DT_BasicInterrupt prompts the user for the card, module and channel to use for the application and calls Cfg_DT_Channel if the card, module, channel is valid for as a discrete module. | |
static void | Cfg_DT_Channel (int32_t cardIndex, int32_t module, int32_t MaxChannel) |
Cfg_DT_Channel handles calling the Display_DT_ChannelCfg routine to display the discrete channel configuration and calling the routines associated with the user's menu commands. | |
static void | Verify_DT_ParamCnt (int32_t paramCnt) |
Verify_DT_ParamCnt verifies parameter count and displays error message if invalid. | |
static nai_status_t | Display_DT_Status (int32_t paramCnt, int32_t *p_params) |
Display_DT_Status illustrate the methods to call in the naibrd library to retrieve the status states. | |
static nai_status_t | Clear_DT_Status (int32_t paramCnt, int32_t *p_params) |
static nai_status_t | Configure_DT_Interrupt (int32_t paramCnt, int32_t *p_params) |
static nai_status_t | Disconnect_DT_Interrupt (int32_t paramCnt, int32_t *p_params) |
static void | SampleCallBack (uint32_t vector) |
static nai_status_t | ForceBIT (int32_t paramCnt, int32_t *p_params) |
static nai_status_t | UnForceBIT (int32_t paramCnt, int32_t *p_params) |
int32_t | DT_BasicInterrupt (void) |
The purpose of the DT_BasicInterrupt is to illustrate the methods to call in the naibrd library to perform basic operations with the discrete modules for configuration setup, controlling the drive outputs, and reading the channels. | |
Variables | |
static const int8_t * | DEF_CONFIG_FILE = (const int8_t *)"default_DT_BasicInterrupt.txt" |
static const int32_t | DEF_DT_CARD_INDEX = 0 |
static const int32_t | DEF_DT_MODULE = 1 |
static const int32_t | DEF_DT_CHANNEL = 1 |
static naiapp_cmdtbl_params_t | DT_BasicInterruptMenuCmds [] |
|
static |
Cfg_DT_Channel handles calling the Display_DT_ChannelCfg routine to display the discrete channel configuration and calling the routines associated with the user's menu commands.
|
static |
|
static |
|
static |
|
static |
Display_DT_Status illustrate the methods to call in the naibrd library to retrieve the status states.
int32_t DT_BasicInterrupt | ( | void | ) |
The purpose of the DT_BasicInterrupt is to illustrate the methods to call in the naibrd library to perform basic operations with the discrete modules for configuration setup, controlling the drive outputs, and reading the channels.
The following system configuration routines from the nai_sys_cfg.c file are called to assist with the configuration setup for this program prior to calling the naibrd DT routines.
|
static |
|
static |
Run_DT_BasicInterrupt prompts the user for the card, module and channel to use for the application and calls Cfg_DT_Channel if the card, module, channel is valid for as a discrete module.
|
static |
|
static |
|
static |
Verify_DT_ParamCnt verifies parameter count and displays error message if invalid.
|
static |
|
static |
|
static |
|
static |
|
static |