Searched refs:PICOTEST_CHECK_CHANNEL (Results 1 – 2 of 2) sorted by relevance
/hal_rpi_pico-latest/test/hardware_pwm_test/ |
D | hardware_pwm_test.c | 61 … PICOTEST_CHECK_CHANNEL(pwm, slice->top == config.top, "HW top does not match requested config"); in main() 63 … PICOTEST_CHECK_CHANNEL(pwm, slice->cc == PWM_CH0_CC_RESET, "HW compares does not match config"); in main() 64 PICOTEST_CHECK_CHANNEL(pwm, slice->div == div, "HW divider does not match config"); in main() 65 PICOTEST_CHECK_CHANNEL(pwm, slice->csr == in main() 80 PICOTEST_CHECK_CHANNEL(pwm, slice->top == v, "pwm_set_wrap() failed to set register"); in main() 83 …PICOTEST_CHECK_CHANNEL(pwm, slice->cc == (((v) << PWM_CH0_CC_B_LSB) | ((v + 1) << PWM_CH0_CC_A_LSB… in main() 90 …PICOTEST_CHECK_CHANNEL(pwm, slice->div == (i << 4 | f), "pwm_set_clkdiv() failed to set register"); in main() 94 PICOTEST_CHECK_CHANNEL(pwm, slice->div == (i << 4 | f), in main() 99 … PICOTEST_CHECK_CHANNEL(pwm, slice->ctr == c, "pwm_set_counter() failed to set register"); in main() 102 …PICOTEST_CHECK_CHANNEL(pwm, slice->ctr == cc && cc == c, "pwm_get_counter() failed to get register… in main() [all …]
|
/hal_rpi_pico-latest/test/pico_test/include/pico/ |
D | test.h | 35 #define PICOTEST_CHECK_CHANNEL(CHANNEL, COND, MESSAGE) if (!(COND)) { \ macro
|