7#ifndef ZEPHYR_DRIVERS_MISC_NXP_FLEXIO_NXP_FLEXIO_H_
8#define ZEPHYR_DRIVERS_MISC_NXP_FLEXIO_NXP_FLEXIO_H_
int nxp_flexio_child_attach(const struct device *dev, const struct nxp_flexio_child *child)
Attach flexio child to flexio controller.
void nxp_flexio_irq_disable(const struct device *dev)
Disable FlexIO IRQ.
void nxp_flexio_lock(const struct device *dev)
Lock FlexIO mutex.
void nxp_flexio_irq_enable(const struct device *dev)
Enable FlexIO IRQ.
int nxp_flexio_get_rate(const struct device *dev, uint32_t *rate)
Obtain the clock rate of sub-system used by the FlexIO.
void nxp_flexio_unlock(const struct device *dev)
Unlock FlexIO mutex.
int(* nxp_flexio_child_isr_t)(void *user_data)
Callback API to inform API user that FlexIO triggered interrupt.
Definition nxp_flexio.h:30
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:403
Structure containing information about the required resources for a FlexIO child.
Definition nxp_flexio.h:17
uint8_t timer_count
Definition nxp_flexio.h:21
uint8_t * timer_index
Definition nxp_flexio.h:20
uint8_t shifter_count
Definition nxp_flexio.h:19
uint8_t * shifter_index
Definition nxp_flexio.h:18
Structure containing the required child data for FlexIO.
Definition nxp_flexio.h:36
nxp_flexio_child_isr_t isr
Definition nxp_flexio.h:37
void * user_data
Definition nxp_flexio.h:38
struct nxp_flexio_child_res res
Definition nxp_flexio.h:39