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