pub unsafe extern "C" fn acc_rss_assembly_test_execute(
assembly_test: *mut acc_rss_assembly_test_t,
integration_status: acc_rss_test_integration_status_t,
) -> acc_rss_test_state_tExpand description
@brief Execute the assembly test
The sensor must be powered on and enabled before this function is called.
The function should be called repeatedly until it returns ACC_RSS_TEST_STATE_COMPLETE. If the function returns ACC_RSS_TEST_STATE_TOGGLE_ENABLE_PIN the caller should toggle the enable pin to reset the sensor and then call @ref acc_rss_assembly_test_execute() again. If the function returns ACC_RSS_TEST_STATE_WAIT_FOR_INTERRUPT the caller have to wait for the interrupt pin before calling @ref acc_rss_assembly_test_execute() again.
After assembly test has been run the sensor enable pin should be toggled to reset the sensor.
@param[in, out] assembly_test The sensor assembly test instance @param[in] integration_status Report back to assembly test if ‘wait for interrupt’ timed out @return ACC_RSS_TEST_STATE_ONGOING if caller should call this function again. ACC_RSS_TEST_STATE_TOGGLE_ENABLE_PIN if caller should toggle the enable pin. ACC_RSS_TEST_STATE_WAIT_FOR_INTERRUPT if caller should wait for interrupt pin. or ACC_RSS_TEST_STATE_COMPLETE if the assembly test is complete.