24 #ifndef __GR1553BC_H__ 25 #define __GR1553BC_H__ 43 #include "gr1553bc_list.h" 50 extern void gr1553bc_register(
void);
54 volatile uint32_t words[4];
59 volatile uint32_t settings[2];
60 volatile uint32_t dptr;
61 volatile uint32_t status;
66 volatile uint32_t cond;
67 volatile uint32_t bdptr;
68 volatile uint32_t padding[2];
84 #define KEEP_TIMESLOT 0x10 96 extern void gr1553bc_bd_init(
114 #define gr1553bc_bd_tr_init(bd, set0, set1, data, status) \ 115 gr1553bc_bd_init((union gr1553bc_bd *)bd,\ 116 0xf, set0, set1, data, status) 124 #define gr1553bc_bd_cond_init(bd, cond, jump_adr) \ 125 gr1553bc_bd_init((union gr1553bc_bd *)bd, \ 126 0xf, cond, jump_adr, 0, 0) 129 #define GR1553BC_BD_SIZE sizeof(struct gr1553bc_bd_raw) 132 #define GR1553BC_BD_ALIGN 16 135 #define GR1553BC_TR_EOL 0x80ffffff 137 #define GR1553BC_BD_TYPE 0x80000000 140 #define GR1553BC_UNCOND_JMP 0x820000ff 141 #define GR1553BC_UNCOND_IRQ 0x860000ff 142 #define GR1553BC_UNCOND_NOJMP 0x82000000 145 #define GR1553BC_TR_DUMMY_0 0x00000000 146 #define GR1553BC_TR_DUMMY_1 0x80000000 148 #define GR1553BC_TR_TIME 0x0000ffff 150 #define GR1553BC_TR_EXTTRIG 0x40000000 157 extern void *gr1553bc_open(
int minor);
159 extern void gr1553bc_close(
void *bc);
168 extern int gr1553bc_indication(
void *bc,
int async,
int *mid);
177 extern void gr1553bc_ext_trig(
void *bc,
int trig);
193 extern int gr1553bc_start
204 extern int gr1553bc_pause(
void *bc);
210 extern int gr1553bc_restart(
void *bc);
218 extern int gr1553bc_stop(
void *bc,
int options);
233 extern int gr1553bc_irq_setup
Definition: gr1553bc.h:72
Definition: gr1553bc.h:79
Definition: gr1553bc.h:65
Definition: gr1553bc_list.h:223
Definition: gr1553bc_list.h:340
Definition: gr1553bc_list.h:218
Definition: gr1553bc_list.h:333
Definition: gr1553bc.h:58
Definition: gr1553bc_list.h:241
Definition: gr1553bc.h:53