Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
uart_instance_t Struct Reference

#include <uart.h>

Data Fields

uart_hwreg_thwreg
 Pointer to Hardware Register Map *‍/.
cfg_dataLength_t dataLength
 Data Length Configuration *‍/.
cfg_dataParity_t parity
 Parity Configuration *‍/.
cfg_stopBits_t stop
 Stop Bits Configuration *‍/.
u32 clockDivider
 Clock Divider Value *‍/.
u8 irqn
 UART IRQ Number *‍/.

Detailed Description

UART instance. Holds the software registers and hardware pointer.

Note
To apply the changes, please call uart_applyConfig() after modifying the configuration fields.

Definition at line 113 of file uart.h.

Field Documentation

◆ clockDivider

u32 uart_instance_t::clockDivider

Clock Divider Value *‍/.

Definition at line 119 of file uart.h.

◆ dataLength

cfg_dataLength_t uart_instance_t::dataLength

Data Length Configuration *‍/.

Definition at line 116 of file uart.h.

◆ hwreg

uart_hwreg_t* uart_instance_t::hwreg

Pointer to Hardware Register Map *‍/.

Definition at line 115 of file uart.h.

◆ irqn

u8 uart_instance_t::irqn

UART IRQ Number *‍/.

Definition at line 120 of file uart.h.

◆ parity

cfg_dataParity_t uart_instance_t::parity

Parity Configuration *‍/.

Definition at line 117 of file uart.h.

◆ stop

cfg_stopBits_t uart_instance_t::stop

Stop Bits Configuration *‍/.

Definition at line 118 of file uart.h.


The documentation for this struct was generated from the following file:
  • C:/Users/JasonLau/Downloads/workspace_local/GitLab/efx_IP/efx_soc_rv64/embedded_sw/software/standalone/driver/uart/uart.h