MMUART Peripherals
UG0331 User Guide Revision 15.0
488
4.
Generate the component by clicking
Generate Component
or by selecting
SmartDesign
>
Generate Component
. For more information on generation of the component, refer to the
.
The firmware driver folder and SoftConsole workspace are included into the
project. Click the highlighted
Configure firmware
as shown in the following figure to find the
MMUART driver information.
Figure 201 •
MMUART Driver User Guide
5.
Click
Generate Bitstream
under
Program Design
to complete the .fdb file generation.
6.
Double-click
Export Firmware
under
Handoff Design
for
Firmware Development
in the Libero
SoC design flow window to generate the SoftConsole
Firmware Project
. The SoftConsole folder
contains the mss_uart firmware driver. The firmware driver, mss_uart (
mss_uart.c
and
mss_uart.h
), which provides a set of functions for controlling the MSS MMUARTs can also be
downloaded from the Microsemi Firmware Catalog. The following table lists main APIs for MMUART.
For complete information on the APIs, refer to the
SmartFusion2 MSS UART Driver User Guide
as
shown in the preceding figure.
Table 466 •
MSS MMUART APIs
Category
API
Description
Initialization and configuration
functions
MSS_UART_init
Initializes and configures the MMUART.
MSS_UART_lin_init
Initializes and configures the MMUART for LIN mode
of operation.
MSS_UART_irda_init
Initializes and configures the MMUART for IrDA mode
of operation.
MSS_UART_smartcard_init
Initializes and configures the MMUART for ISO 7816
(smart-card) mode of operation.
Polled transmit and receive
functions
MSS_UART_polled_tx
Transmits the data.
MSS_UART_polled_tx_string Transmits a NULL ('\0') terminated string.
MSS_UART_fill_tx_fifo
Fills the UART's hardware transmitter FIFO.
Interrupt driven transmit and
receive functions
MSS_UART_set_rx_handler
Registers a receive handler function.
MSS_UART_set_tx_handler
Registers a transmit handler function.
MSS_UART_irq_tx
Initiates an interrupt driven transmission.
MSS_UART_get_rx
Reads the content of the UART receiver's FIFO and
stores it in the receive buffer
Содержание SmartFusion2 MSS
Страница 1: ...UG0331 User Guide SmartFusion2 Microcontroller Subsystem ...
Страница 166: ...Cortex M3 Processor Reference Material UG0331 User Guide Revision 15 0 132 ...
Страница 200: ...Embedded NVM eNVM Controllers UG0331 User Guide Revision 15 0 166 Figure 87 System Builder Window ...
Страница 407: ...Universal Serial Bus OTG Controller UG0331 User Guide Revision 15 0 373 ...
Страница 806: ...Fabric Interface Controller UG0331 User Guide Revision 15 0 772 Figure 345 FIC Master AHB Lite Subsystem ...