bool32.rising trig
int32.positive offset
None
objref table
spinner a1
spinner a2
spinner a3
spinner a4
spinner a5
spinner a6
spinner a7
spinner a8
uint32_t ntrig;
if (inlet_trig && !ntrig) {
ntrig = 1;
attr_table.array[inlet_offset] =
__SSAT((attr_a1 << 21), 28) >> attr_table.GAIN;
attr_table.array[inlet_offset + 1] =
__SSAT((attr_a2 << 21), 28) >> attr_table.GAIN;
attr_table.array[inlet_offset + 2] =
__SSAT((attr_a3 << 21), 28) >> attr_table.GAIN;
attr_table.array[inlet_offset + 3] =
__SSAT((attr_a4 << 21), 28) >> attr_table.GAIN;
attr_table.array[inlet_offset + 4] =
__SSAT((attr_a5 << 21), 28) >> attr_table.GAIN;
attr_table.array[inlet_offset + 5] =
__SSAT((attr_a6 << 21), 28) >> attr_table.GAIN;
attr_table.array[inlet_offset + 6] =
__SSAT((attr_a7 << 21), 28) >> attr_table.GAIN;
attr_table.array[inlet_offset + 7] =
__SSAT((attr_a8 << 21), 28) >> attr_table.GAIN;
}
if (!inlet_trig)
ntrig = 0;