Lines Matching full:pin
8 * @brief Driver for Pin interrupt and pattern match engine in NXP MCUs
10 * The Pin interrupt and pattern match engine (PINT) supports
13 * Pin inputs can generate separate interrupts to the NVIC, or be combined
15 * This driver currently only supports the pin interrupt feature of
25 * @brief Pin interrupt sources
27 * Pin interrupt sources available for use.
30 /* Do not generate Pin Interrupt */
32 /* Generate Pin Interrupt on rising edge */
34 /* Generate Pin Interrupt on falling edge */
36 /* Generate Pin Interrupt on both edges */
38 /* Generate Pin Interrupt on low level */
40 /* Generate Pin Interrupt on high level */
45 typedef void (*nxp_pint_cb_t) (uint8_t pin, void *user);
50 * @param pin: pin to use as interrupt source
51 * 0-64, corresponding to GPIO0 pin 1 - GPIO1 pin 31)
53 * @param wake: indicates if the pin should wakeup the system
55 int nxp_pint_pin_enable(uint8_t pin, enum nxp_pint_trigger trigger, bool wake);
61 * @param pin: pin interrupt source to disable
63 void nxp_pint_pin_disable(uint8_t pin);
68 * @param pin: interrupt source to install callback for
73 int nxp_pint_pin_set_callback(uint8_t pin, nxp_pint_cb_t cb, void *data);
78 * @param pin: interrupt source to remove callback for
80 void nxp_pint_pin_unset_callback(uint8_t pin);