Mistake on this page?
Report an issue in GitHub or email us
Functions
GPIO IRQ HAL tests

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...
 

Detailed Description

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

Function Documentation

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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.