Visible to Intel only — GUID: lut1661906099982
Ixiasoft
Visible to Intel only — GUID: lut1661906099982
Ixiasoft
55.5.1.1. Driver Options: Fast vs. Small Implementations
The fast driver is an interrupt-driven implementation, which allows the processor to perform other tasks when the device is not ready to send or receive data. Because the UART data rate is slow compared to the processor, the fast driver can provide a large performance benefit for systems that could be performing other tasks in the interim.
The small driver is a polled implementation that waits for the UART hardware before sending and receiving each character. There are two ways to enable the small footprint driver:
- Enable the small footprint setting for the HAL system library project. This option affects device drivers for all devices in the system as well.
- Specify the preprocessor option—DINTEL_LW_UART_SMALL. You can use this option if you want the small, polled implementation of the UART driver, but do not want to affect the drivers for other devices.
Refer to the help system in the Nios® II IDE for details about how to set HAL properties and preprocessor options.