Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_xmc4xxx.c32 uint8_t irq_num_rx; member
169 irq_disable(config->irq_num_rx); in uart_xmc4xxx_isr()
196 __ASSERT(config->irq_num_rx >= USIC_IRQ_MIN && config->irq_num_rx <= USIC_IRQ_MAX, in uart_xmc4xxx_configure_service_requests()
198 data->service_request_rx = (config->irq_num_rx - USIC_IRQ_MIN) % IRQS_PER_USIC; in uart_xmc4xxx_configure_service_requests()
248 clear_pending_interrupt(config->irq_num_rx); in uart_xmc4xxx_irq_rx_enable()
249 irq_enable(config->irq_num_rx); in uart_xmc4xxx_irq_rx_enable()
375 uint32_t irq_num_rx = config->irq_num_rx; in uart_xmc4xxx_irq_is_pending() local
386 setpend = *((uint32_t *)(NVIC_ISPR_BASE) + irq_num_rx / 32); in uart_xmc4xxx_irq_is_pending()
387 irq_num_rx = irq_num_rx & 0x1f; /* take modulo 32 */ in uart_xmc4xxx_irq_is_pending()
388 rx_pending = setpend & BIT(irq_num_rx); in uart_xmc4xxx_irq_is_pending()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_xmc4xxx.c45 uint8_t irq_num_rx; member
379 irq_disable(config->irq_num_rx); in spi_xmc4xxx_transceive_dma()
474 irq_enable(config->irq_num_rx); in spi_xmc4xxx_transceive_dma()
515 __ASSERT(config->irq_num_rx >= USIC_IRQ_MIN && config->irq_num_rx <= USIC_IRQ_MAX, in spi_xmc4xxx_configure_rx_service_requests()
518 data->service_request_rx = (config->irq_num_rx - USIC_IRQ_MIN) % IRQS_PER_USIC; in spi_xmc4xxx_configure_rx_service_requests()
668 .irq_num_rx = DT_INST_IRQ_BY_NAME(index, rx, irq), \