.baseAddr = UART0_BASE,
.powerMngrId = PowerCC26XX_PERIPH_UART0,
.intNum = INT_UART0_COMB,
.intPriority = ~0,
.swiPriority = 0,
.txPin = CC2640R2_LAUNCHXL_UART_TX,
.rxPin = CC2640R2_LAUNCHXL_UART_RX,
.ctsPin = PIN_UNASSIGNED,
.rtsPin = PIN_UNASSIGNED,
.ringBufPtr = uartCC26XXRingBuffer[CC2640R2_LAUNCHXL_UART0],
.ringBufSize = sizeof(uartCC26XXRingBuffer[CC2640R2_LAUNCHXL_UART0]),
.txIntFifoThr = UARTCC26XX_FIFO_THRESHOLD_1_8,
.rxIntFifoThr = UARTCC26XX_FIFO_THRESHOLD_4_8,
.errorFxn = NULL
这些是在const UARTCC26XX_HWAttrsV2 uartCC26XXHWAttrs[CC2640R2_LAUNCHXL_UARTCOUNT]里的,分别都是什么含义呢?
Alvin Chen:
看这里;
software-dl.ti.com/…/struct_u_a_r_t_c_c26_x_x___h_w_attrs_v2.html
YiKai Chen:
已經在你的類似帖子回應過 e2echina.ti.com/…/181317