Home
last modified time | relevance | path

Searched refs:TEST_PIN_IN (Results 1 – 1 of 1) sorted by relevance

/bsp/raspberry-pi/raspi3-32/applications/
A Dtest_device.c100 #define TEST_PIN_IN 37 macro
116 rt_pin_mode(TEST_PIN_IN, PIN_MODE_INPUT); in test_gpio()
118 ret = rt_pin_read(TEST_PIN_IN); in test_gpio()
122 ret = rt_pin_read(TEST_PIN_IN); in test_gpio()
125 rt_pin_mode(TEST_PIN_IN, PIN_MODE_INPUT_PULLDOWN); in test_gpio()
126 rt_pin_attach_irq(TEST_PIN_IN, PIN_IRQ_MODE_RISING, gpio_rising_test, RT_NULL); in test_gpio()
127 rt_pin_irq_enable(TEST_PIN_IN, PIN_IRQ_ENABLE); in test_gpio()
130 rt_pin_irq_enable(TEST_PIN_IN, PIN_IRQ_DISABLE); in test_gpio()

Completed in 6 milliseconds