int32.positive offset
int32.positive step
frac32 v0
frac32 v1
frac32 v2
frac32 v3
frac32 v4
frac32 v5
frac32 v6
frac32 v7
bool32.risingfalling rec
None
int32 offset
objref table
uint32_t prev0;
uint32_t prev1;
uint32_t prev2;
uint32_t prev3;
uint32_t prev4;
uint32_t prev5;
uint32_t prev6;
uint32_t prev7;
int ntrig0;
int ntrig1;
int ntrig2;
int ntrig3;
int ntrig4;
int ntrig5;
int ntrig6;
int ntrig7;
prev0 = 0;
prev1 = 0;
prev2 = 0;
prev3 = 0;
prev4 = 0;
prev5 = 0;
prev6 = 0;
prev7 = 0;
if ((inlet_rec > 0) && (inlet_v0 != prev0))
ntrig0 = 1;
if (!(inlet_rec > 0))
ntrig0 = 0;
if ((inlet_rec > 0) && (inlet_v1 != prev1))
ntrig1 = 1;
if (!(inlet_rec > 0))
ntrig1 = 0;
if ((inlet_rec > 0) && (inlet_v2 != prev2))
ntrig2 = 1;
if (!(inlet_rec > 0))
ntrig2 = 0;
if ((inlet_rec > 0) && (inlet_v3 != prev3))
ntrig3 = 1;
if (!(inlet_rec > 0))
ntrig3 = 0;
if ((inlet_rec > 0) && (inlet_v4 != prev4))
ntrig4 = 1;
if (!(inlet_rec > 0))
ntrig4 = 0;
if ((inlet_rec > 0) && (inlet_v5 != prev5))
ntrig5 = 1;
if (!(inlet_rec > 0))
ntrig5 = 0;
if ((inlet_rec > 0) && (inlet_v6 != prev6))
ntrig6 = 1;
if (!(inlet_rec > 0))
ntrig6 = 0;
if ((inlet_rec > 0) && (inlet_v7 != prev7))
ntrig7 = 1;
if (!(inlet_rec > 0))
ntrig7 = 0;
if ((inlet_v0 != prev0) || (ntrig0 > 0)) {
attr_table.array[inlet_offset + 0 + inlet_step] =
__SSAT(inlet_v0, 28) >> attr_table.GAIN;
prev0 = inlet_v0;
}
if ((inlet_v1 != prev1) || (ntrig1 > 0)) {
attr_table.array[inlet_offset + 1 + inlet_step] =
__SSAT(inlet_v1, 28) >> attr_table.GAIN;
prev1 = inlet_v1;
}
if ((inlet_v2 != prev2) || (ntrig2 > 0)) {
attr_table.array[inlet_offset + 2 + inlet_step] =
__SSAT(inlet_v2, 28) >> attr_table.GAIN;
prev2 = inlet_v2;
}
if ((inlet_v3 != prev3) || (ntrig3 > 0)) {
attr_table.array[inlet_offset + 3 + inlet_step] =
__SSAT(inlet_v3, 28) >> attr_table.GAIN;
prev3 = inlet_v3;
}
if ((inlet_v4 != prev4) || (ntrig4 > 0)) {
attr_table.array[inlet_offset + 4 + inlet_step] =
__SSAT(inlet_v4, 28) >> attr_table.GAIN;
prev4 = inlet_v4;
}
if ((inlet_v5 != prev5) || (ntrig5 > 0)) {
attr_table.array[inlet_offset + 5 + inlet_step] =
__SSAT(inlet_v5, 28) >> attr_table.GAIN;
prev5 = inlet_v5;
}
if ((inlet_v6 != prev6) || (ntrig6 > 0)) {
attr_table.array[inlet_offset + 6 + inlet_step] =
__SSAT(inlet_v6, 28) >> attr_table.GAIN;
prev6 = inlet_v6;
}
if ((inlet_v7 != prev7) || (ntrig7 > 0)) {
attr_table.array[inlet_offset + 7 + inlet_step] =
__SSAT(inlet_v7, 28) >> attr_table.GAIN;
prev7 = inlet_v7;
}