The GPIO IRQ HAL tests ensure driver conformance to defined behaviour. More...
Functions | |
void | fpga_gpio_irq_test (PinName pin) |
Test that the GPIO IRQ can be initialized/de-initialized using all possible GPIO IRQ pins. More... | |
void | fpga_gpio_irq_init_free_test (PinName pin) |
Test that the gpio interrupt is generated correctly. More... | |
The GPIO IRQ HAL tests ensure driver conformance to defined behaviour.
To run the GPIO IRQ hal tests use the command:
mbed test -t <toolchain> -m <target> -n tests-mbed_hal_fpga_ci_test_shield-gpio_irq
void fpga_gpio_irq_init_free_test | ( | PinName | pin | ) |
Test that the gpio interrupt is generated correctly.
Given board provides interrupt-in feature. When gpio interrupt is configured to fire on rasing/falling/both edge(s). Then on rasing/falling/any edge registered interrupt handler is called.
void fpga_gpio_irq_test | ( | PinName | pin | ) |
Test that the GPIO IRQ can be initialized/de-initialized using all possible GPIO IRQ pins.
Given board provides GPIO IRQ support. When GPIO IRQ is initialized (and then de-initialized) using valid GPIO IRQ pin. Then the operation is successfull.