Specifications
hardware, rather than calling your driver routines directly. Therefore, the usage of your driver is already
documented as part of the HAL API.
C Standard Library—newlib
The HAL integrates the ANSI C standard library in its runtime environment. The HAL uses newlib, an
open-source implementation of the C standard library. newlib is a C library for use on embedded
systems, making it a perfect match for the HAL and the Nios II processor. newlib licensing does not
require you to release your source code or pay royalties for projects based on newlib.
The ANSI C standard library is well documented.
For more information about the most well-known reference of the ANSI C standard library, refer to the
book:
The C Programming Language by B. Kernighan and D. Ritchie, published by Prentice Hall. It is also
available in over 20 languages.
Related Information
Redhat Website
For more information, refer to the online documentation for newlib by Red Hat.
Embedded Hardware Supported by the HAL
Nios II Processor Core Support
The Nios II HAL supports all available Nios II processor core implementations.
Supported Peripherals
Provide Full HAL Support
Altera provides many peripherals for use in Nios II processor systems. Most Altera peripherals provide
HAL device drivers that allow you to access the hardware with the HAL API. The following Altera
peripherals provide full HAL support:
5-4
C Standard Library—newlib
NII5V2
2015.05.14
Altera Corporation
Overview of the Hardware Abstraction Layer
Send Feedback