Skip to main content

pamoja_stepper_coils

Function pamoja_stepper_coils 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_stepper_coils( stepper: *const PamojaStepper, ) -> u8
Expand description

Returns the coil pattern a stepper currently holds, without advancing it.

§Returns

The four-bit coil pattern, or 0 if stepper is null.

§Safety

stepper must be a live handle from pamoja_stepper_new, or null.