Lines Matching refs:obj

26 	cyhal_uart_t obj;                               /* UART CYHAL object */  member
172 rec = cyhal_uart_getc(&data->obj, c, 0u); in ifx_cat1_uart_poll_in()
181 (void) cyhal_uart_putc(&data->obj, (uint32_t)c); in ifx_cat1_uart_poll_out()
187 uint32_t status = Cy_SCB_UART_GetRxFifoStatus(data->obj.base); in ifx_cat1_uart_err_check()
223 result = cyhal_uart_configure(&data->obj, &uart_cfg); in ifx_cat1_uart_configure()
227 result = cyhal_uart_set_baud(&data->obj, cfg->baudrate, NULL); in ifx_cat1_uart_configure()
231 data->obj.pin_cts = NC; in ifx_cat1_uart_configure()
232 data->obj.pin_rts = NC; in ifx_cat1_uart_configure()
236 Cy_SCB_UART_EnableCts(data->obj.base); in ifx_cat1_uart_configure()
279 (void)cyhal_uart_write(&data->obj, (uint8_t *) tx_data, &_size); in ifx_cat1_uart_fifo_fill()
290 (void)cyhal_uart_read(&data->obj, rx_data, &_size); in ifx_cat1_uart_fifo_read()
300 cyhal_uart_enable_event(&data->obj, in ifx_cat1_uart_irq_tx_enable()
311 cyhal_uart_enable_event(&data->obj, in ifx_cat1_uart_irq_tx_disable()
320 uint32_t mask = Cy_SCB_GetTxInterruptStatusMasked(data->obj.base); in ifx_cat1_uart_irq_tx_ready()
330 return (int) !(cyhal_uart_is_tx_active(&data->obj)); in ifx_cat1_uart_irq_tx_complete()
339 cyhal_uart_enable_event(&data->obj, in ifx_cat1_uart_irq_rx_enable()
350 cyhal_uart_enable_event(&data->obj, in ifx_cat1_uart_irq_rx_disable()
360 return cyhal_uart_readable(&data->obj) ? 1 : 0; in ifx_cat1_uart_irq_rx_ready()
369 cyhal_uart_enable_event(&data->obj, (cyhal_uart_event_t) in ifx_cat1_uart_irq_err_enable()
380 cyhal_uart_enable_event(&data->obj, (cyhal_uart_event_t) in ifx_cat1_uart_irq_err_disable()
389 uint32_t intcause = Cy_SCB_GetInterruptCause(data->obj.base); in ifx_cat1_uart_irq_is_pending()
405 (Cy_SCB_UART_GetNumInRxFifo(data->obj.base) == 0u)) { in ifx_cat1_uart_irq_update()
417 cyhal_uart_t *uart_obj = &data->obj; in ifx_cat1_uart_irq_callback_set()
473 result = cyhal_uart_init_cfg(&data->obj, &uart_init_cfg); in ifx_cat1_uart_init()
479 data->obj.is_clock_owned = true; in ifx_cat1_uart_init()