debounce8

Debounce 8 bool32 inputs. period: Increase the period until you get suitable debounce response. mode: Transition from 0 to 1 fast OR from 1 to 0 fast.
Author: Jason Harris
License: BSD
Github: deadsy/input/debounce.axo

IO Variants: 5


Variant: 1

Inlets

bool32 i0

bool32 i1

bool32 i2

bool32 i3

bool32 i4

bool32 i5

bool32 i6

bool32 i7

Outlets

bool32 o0

bool32 o1

bool32 o2

bool32 o3

bool32 o4

bool32 o5

bool32 o6

bool32 o7

Attributes

spinner period

combo mode

Declaration
struct debounce_state state;
Init
debounce_init(&state, attr_period, attr_mode);
Control Rate
debounce_krate8(&state, inlet_i0, inlet_i1, inlet_i2, inlet_i3, inlet_i4,
                inlet_i5, inlet_i6, inlet_i7, &outlet_o0, &outlet_o1,
                &outlet_o2, &outlet_o3, &outlet_o4, &outlet_o5, &outlet_o6,
                &outlet_o7);

Variant: 2

Inlets

bool32 i0

bool32 i1

bool32 i2

bool32 i3

Outlets

bool32 o0

bool32 o1

bool32 o2

bool32 o3

Attributes

spinner period

combo mode

Declaration
struct debounce_state state;
Init
debounce_init(&state, attr_period, attr_mode);
Control Rate
debounce_krate4(&state, inlet_i0, inlet_i1, inlet_i2, inlet_i3, &outlet_o0,
                &outlet_o1, &outlet_o2, &outlet_o3);

Variant: 3

Inlets

bool32 i0

bool32 i1

Outlets

bool32 o0

bool32 o1

Attributes

spinner period

combo mode

Declaration
struct debounce_state state;
Init
debounce_init(&state, attr_period, attr_mode);
Control Rate
debounce_krate2(&state, inlet_i0, inlet_i1, &outlet_o0, &outlet_o1);

Variant: 4

Inlets

bool32 i0

Outlets

bool32 o0

Attributes

spinner period

combo mode

Declaration
struct debounce_state state;
Init
debounce_init(&state, attr_period, attr_mode);
Control Rate
debounce_krate1(&state, inlet_i0, &outlet_o0);

Variant: 5

Inlets

bool32 i0

bool32 i1

bool32 i2

bool32 i3

bool32 i4

bool32 i5

bool32 i6

bool32 i7

bool32 i8

bool32 i9

bool32 i10

bool32 i11

bool32 i12

bool32 i13

bool32 i14

bool32 i15

Outlets

bool32 o0

bool32 o1

bool32 o2

bool32 o3

bool32 o4

bool32 o5

bool32 o6

bool32 o7

bool32 o8

bool32 o9

bool32 o10

bool32 o11

bool32 o12

bool32 o13

bool32 o14

bool32 o15

Attributes

combo mode

spinner period

Declaration
struct debounce_state state;
Init
debounce_init(&state, attr_period, attr_mode);
Control Rate
debounce_krate16(&state, inlet_i0, inlet_i1, inlet_i2, inlet_i3, inlet_i4,
                 inlet_i5, inlet_i6, inlet_i7, inlet_i8, inlet_i9, inlet_i10,
                 inlet_i11, inlet_i12, inlet_i13, inlet_i14, inlet_i15,
                 &outlet_o0, &outlet_o1, &outlet_o2, &outlet_o3, &outlet_o4,
                 &outlet_o5, &outlet_o6, &outlet_o7, &outlet_o8, &outlet_o9,
                 &outlet_o10, &outlet_o11, &outlet_o12, &outlet_o13,
                 &outlet_o14, &outlet_o15);

Privacy

© 2024 Zrna Research