InPlay API
trig_reg_rd_cmp_cmd_t Struct Reference

trigger register read and compare command parameter More...

#include <hal_trig.h>

Data Fields

int cont_cmp
 1: continue compare, 0: Not continue compare
 
int cmp_cond
 Compare condition, enum trig_reg_comp_cond_t.
 
int reg_bus
 Register access bus, enum trig_reg_bus_t.
 
uint32_t fail_cmd_addr
 Fail command address, 0 ~ 255, word address. More...
 
uint32_t wait_time
 Wait time, 0 ~ 255.
 
uint32_t max_rd_num
 Max number of read allowed, 0 ~ 255, 0 is forever.
 
uint32_t reg_addr
 Register address.
 
uint32_t mask
 Register read mask.
 
uint32_t exp_value
 Expected value.
 

Detailed Description

trigger register read and compare command parameter

Field Documentation

◆ fail_cmd_addr

uint32_t fail_cmd_addr

Fail command address, 0 ~ 255, word address.

Note
Sucess command is next command.