|
static int32_t | Run_TTL_BasicInterrupt (int32_t cardIndex, int32_t module, uint32_t modid) |
| Run_TTL_BasicInterrupt prompts the user for the card, module and channel to use for the application and calls Cfg_TTL_Channel if the card, module, channel is valid for as a ttl module.
|
|
static void | Cfg_TTL_Channel (int32_t cardIndex, int32_t module, int32_t MaxChannel) |
| Cfg_TTL_Channel handles calling the Display_TTL_ChannelCfg routine to display the ttl channel configuration and calling the routines associated with the user's menu commands.
|
|
static void | Verify_TTL_ParamCnt (int32_t paramCnt) |
| Verify_TTL_ParamCnt verifies parameter count and displays error message if invalid.
|
|
static nai_status_t | Display_TTL_Status (int32_t paramCnt, int32_t *p_params) |
| Display_TTL_Status illustrate the methods to call in the naibrd library to retrieve the status states.
|
|
static nai_status_t | Clear_TTL_Status (int32_t paramCnt, int32_t *p_params) |
|
static nai_status_t | Configure_TTL_Interrupt (int32_t paramCnt, int32_t *p_params) |
|
static void | SampleCallBack (uint32_t vector) |
|
int32_t | TTL_BasicInterrupt (void) |
| The purpose of the TTL_BasicInterrupt is to illustrate the methods to call in the naibrd library to perform basic operations with the ttl modules for configuration setup, controlling the drive outputs, and reading the channels.
|
|
int32_t TTL_BasicInterrupt |
( |
void | | ) |
|
The purpose of the TTL_BasicInterrupt is to illustrate the methods to call in the naibrd library to perform basic operations with the ttl 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 TTL routines.
- ClearDeviceCfg
- QuerySystemCfg
- DisplayDeviceCfg
- GetBoardSNModCfg
- SaveDeviceCfg