Intel® MAX® 10 Analog to Digital Converter User Guide

ID 683596
Date 5/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

5.6. ADC HAL Device Driver for Nios® II Gen 2

The Modular ADC Core IP core provides a HAL device driver. You can integrate the device driver into the HAL system library for Nios® II Gen 2 systems.

The Modular ADC Core IP core provides software files that define low-level access to the hardware. You can use the macros definition and functions in the software files to initialize the Modular ADC Core core.

  • altera_modular_adc_sequencer_regs.h—this file defines the register map for the sequencer core. It provides symbolic constants to access the low-level hardware.
  • altera_modular_adc_sample_store_regs.h—this file defines the register for sample storage core. It provides symbolic constants to access the low-level hardware.
  • altera_modular_adc.h—include this file into your application. It automatically includes the other header files and defines additional functions.
  • altera_modular_adc.c—this file implements helper functions that are defined in the header file.