![]() |
![]() |
UART2WFF3 Hardware attributes. More...
#include <UART2WFF3.h>
Data Fields | |
| UART2_BASE_HWATTRS uint32_t | txDmaChannel |
| uint32_t | rxDmaChannel |
| int32_t | txPinMux |
| int32_t | rxPinMux |
| int32_t | ctsPinMux |
| int32_t | rtsPinMux |
| UART2WFF3_CodingScheme | codingScheme |
| uint8_t | irLPClkDivider |
| uint8_t | powerID |
| bool | concatenateFIFO |
UART2WFF3 Hardware attributes.
The baseAddr and intNum fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. These definitions are found under the device family in:
intPriority is the UART peripheral's interrupt priority. This value is passed unmodified to HwiP_construct().
The WiFi F3 devices use three priority bits. That means ~0 has the same effect as (7 << 5).
Setting the priority to 0 is not supported by this driver. HWI's with priority 0 ignore the HWI dispatcher to support zero-latency interrupts, thus invalidating the critical sections in this driver.
A sample structure is shown below:
To enable flow control, the .ctsPin and/or .rtsPin must be assigned. In addition, .flowControl must be set to UART2_FLOWCTRL_HARDWARE.
| UART2_BASE_HWATTRS uint32_t UART2WFF3_HWAttrs::txDmaChannel |
DMA TX channel number
| uint32_t UART2WFF3_HWAttrs::rxDmaChannel |
DMA RX channel number
| int32_t UART2WFF3_HWAttrs::txPinMux |
TX PIN mux value
| int32_t UART2WFF3_HWAttrs::rxPinMux |
RX PIN mux value
| int32_t UART2WFF3_HWAttrs::ctsPinMux |
CTS PIN mux value for flow control
| int32_t UART2WFF3_HWAttrs::rtsPinMux |
RTS PIN mux value for flow control
| UART2WFF3_CodingScheme UART2WFF3_HWAttrs::codingScheme |
UART TXD/RXD encoding/decoding scheme
| uint8_t UART2WFF3_HWAttrs::irLPClkDivider |
Clock divider for IR Low-Power mode
| uint8_t UART2WFF3_HWAttrs::powerID |
Power driver ID for this UART instance
| bool UART2WFF3_HWAttrs::concatenateFIFO |
Concatenate RX and TX FIFO if write-only