Revision ef5bc242 source/DW1000/v1/alld_dw1000_v1.c
source/DW1000/v1/alld_dw1000_v1.c | ||
---|---|---|
4539 | 4539 |
return chVTGetSystemTimeX(); |
4540 | 4540 |
} |
4541 | 4541 |
|
4542 |
/*! @brief Check the current value of GPIO pin and return the value */ |
|
4543 |
uint8_t port_CheckEXT_IRQ(void) { |
|
4544 |
uint8_t val; |
|
4545 |
apalGpioRead(pdw1000local->driver->gpio_exti->gpio, &val); |
|
4546 |
return val; |
|
4547 |
} |
|
4548 |
|
|
4542 | 4549 |
/*! @brief Disable the interrupt handler */ |
4543 | 4550 |
void port_DisableEXT_IRQ(void){ |
4544 | 4551 |
nvicDisableVector(DW1000_EXTI_IRQn); |
Also available in: Unified diff