Hardware Abstraction Layer (HAL)
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
mtb_hal_uart_t Struct Reference

Description

UART object.

Application code should not rely on the specific contents of this struct. They are considered an implementation detail which is subject to change between platforms and/or HAL releases.

Data Fields

CySCB_Type * base
 Base address for the SCB.
 
cy_stc_scb_uart_context_t * context
 PDL context.
 
const mtb_hal_clock_tclock
 Clock interface.
 
_mtb_hal_event_callback_data_t callback_data
 User-registered callback.
 
uint32_t irq_cause
 User-enabled events.
 

Field Documentation

◆ base

CySCB_Type* mtb_hal_uart_t::base

Base address for the SCB.

◆ context

cy_stc_scb_uart_context_t* mtb_hal_uart_t::context

PDL context.

◆ clock

const mtb_hal_clock_t* mtb_hal_uart_t::clock

Clock interface.

◆ callback_data

_mtb_hal_event_callback_data_t mtb_hal_uart_t::callback_data

User-registered callback.

◆ irq_cause

uint32_t mtb_hal_uart_t::irq_cause

User-enabled events.