Visible to Intel only — GUID: jxk1642569282686
Ixiasoft
Visible to Intel only — GUID: jxk1642569282686
Ixiasoft
7. Developing Programs Using the Hardware Abstraction Layer
The application program interface (API) for HAL-based systems is readily accessible to software developers who are new to the Nios® V processor. Programs based on the HAL use the ANSI C standard library functions and runtime environment, and access hardware resources with the HAL API’s generic device models. The HAL API largely conforms to the familiar ANSI C standard library functions, though the ANSI C standard library is separate from the HAL. The close integration of the ANSI C standard library and the HAL makes it possible to develop useful programs that never call the HAL functions directly. For example, you can manipulate character mode devices and files using the ANSI C standard library I/O functions, such as printf() and scanf().
Section Content
HAL BSP Settings
The Nios V Processor Embedded Project Structure
The system.h System Description File
Data Widths and the HAL Type Definitions
UNIX-Style Interface
Using Character-Mode Devices
Using Timer Devices
Using Flash Devices
Using DMA Devices
Interrupt Controllers
Reducing Code Footprint in Embedded Systems
Boot Sequence and Entry Point
Memory Usage
Working with HAL Source Files