InPlay API
trig_init_t Struct Reference

trigger init parameter More...

#include <hal_trig.h>

Data Fields

int irq_prio
 Trig interrupt priority.
 
int auto_resume
 1: auto resume, 0: mannual resume,should call hal_trig_resume to resume trigger.
 
void(* irq_cb )(void *arg, uint32_t status0, uint32_t status1)
 IRQ callback, set NULL to disable IRQ.
 
void * cb_arg
 Callback args.
 
uint32_t intr_unmask0
 Interrupt unmask 0,. More...
 
uint32_t intr_unmask1
 Interrupt unmask 1,. More...
 
uint32_t mp_mem_addr
 Mid priority queue mem address offset. Unit is word, not byte.
 
uint32_t lp_mem_addr
 Low priority queue mem address offset. Unit is word, not byte.
 

Detailed Description

trigger init parameter

Field Documentation

◆ intr_unmask0

uint32_t intr_unmask0

Interrupt unmask 0,.

See also
TRIG_HP_INTR_CMD_COMPLETED

◆ intr_unmask1

uint32_t intr_unmask1

Interrupt unmask 1,.

See also
TRIG_HP_INTR_CMD_START