Lines Matching refs:base
45 CySCB_Type *base; member
124 (void) Cy_SCB_UART_Init(config->base, &uartConfig, NULL); in uart_psoc6_init()
125 Cy_SCB_UART_Enable(config->base); in uart_psoc6_init()
139 rec = Cy_SCB_UART_Get(config->base); in uart_psoc6_poll_in()
149 while (Cy_SCB_UART_Put(config->base, (uint32_t)c) != 1UL) { in uart_psoc6_poll_out()
156 uint32_t status = Cy_SCB_UART_GetRxFifoStatus(config->base); in uart_psoc6_err_check()
182 return Cy_SCB_UART_PutArray(config->base, (uint8_t *) tx_data, size); in uart_psoc6_fifo_fill()
191 return Cy_SCB_UART_GetArray(config->base, rx_data, size); in uart_psoc6_fifo_read()
198 Cy_SCB_SetTxInterruptMask(config->base, CY_SCB_UART_TX_EMPTY); in uart_psoc6_irq_tx_enable()
205 Cy_SCB_SetTxInterruptMask(config->base, 0); in uart_psoc6_irq_tx_disable()
211 uint32_t status = Cy_SCB_UART_GetTxFifoStatus(config->base); in uart_psoc6_irq_tx_ready()
213 Cy_SCB_UART_ClearTxFifoStatus(config->base, CY_SCB_UART_TX_INTR_MASK); in uart_psoc6_irq_tx_ready()
221 uint32_t status = Cy_SCB_UART_GetTxFifoStatus(config->base); in uart_psoc6_irq_tx_complete()
223 Cy_SCB_UART_ClearTxFifoStatus(config->base, CY_SCB_UART_TX_INTR_MASK); in uart_psoc6_irq_tx_complete()
232 Cy_SCB_SetRxInterruptMask(config->base, CY_SCB_UART_RX_NOT_EMPTY); in uart_psoc6_irq_rx_enable()
239 Cy_SCB_SetRxInterruptMask(config->base, 0); in uart_psoc6_irq_rx_disable()
245 uint32_t status = Cy_SCB_UART_GetRxFifoStatus(config->base); in uart_psoc6_irq_rx_ready()
247 Cy_SCB_UART_ClearRxFifoStatus(config->base, CY_SCB_UART_RX_INTR_MASK); in uart_psoc6_irq_rx_ready()
255 uint32_t intmask = Cy_SCB_GetRxInterruptMask(config->base) | in uart_psoc6_irq_err_enable()
258 Cy_SCB_SetRxInterruptMask(config->base, intmask); in uart_psoc6_irq_err_enable()
264 uint32_t intmask = Cy_SCB_GetRxInterruptMask(config->base) & in uart_psoc6_irq_err_disable()
267 Cy_SCB_SetRxInterruptMask(config->base, intmask); in uart_psoc6_irq_err_disable()
273 uint32_t intcause = Cy_SCB_GetInterruptCause(config->base); in uart_psoc6_irq_is_pending()
352 .base = (CySCB_Type *)DT_INST_REG_ADDR(n), \