Visible to Intel only — GUID: ojm1702374880509
Ixiasoft
1. Intel® MAX® 10 Analog to Digital Converter Overview
2. Intel® MAX® 10 ADC Architecture and Features
3. Intel® MAX® 10 ADC Design Considerations
4. Intel® MAX® 10 ADC Implementation Guides
5. Modular ADC Core Intel® FPGA IP and Modular Dual ADC Core Intel® FPGA IP References
6. Intel® MAX® 10 Analog to Digital Converter User Guide Archives
7. Document Revision History for Intel® MAX® 10 Analog to Digital Converter User Guide
2.2.1.1. Configuration 1: Standard Sequencer with Avalon-MM Sample Storage
2.2.1.2. Configuration 2: Standard Sequencer with Avalon-MM Sample Storage and Threshold Violation Detection
2.2.1.3. Configuration 3: Standard Sequencer with External Sample Storage
2.2.1.4. Configuration 4: ADC Control Core Only
5.4.1. Command Interface of Modular ADC Core and Modular Dual ADC Core
5.4.2. Response Interface of Modular ADC Core and Modular Dual ADC Core
5.4.3. Threshold Interface of Modular ADC Core and Modular Dual ADC Core
5.4.4. CSR Interface of Modular ADC Core and Modular Dual ADC Core
5.4.5. IRQ Interface of Modular ADC Core and Modular Dual ADC Core
5.4.6. Peripheral Clock Interface of Modular ADC Core and Modular Dual ADC Core
5.4.7. Peripheral Reset Interface of Modular ADC Core and Modular Dual ADC Core
5.4.8. ADC PLL Clock Interface of Modular ADC Core and Modular Dual ADC Core
5.4.9. ADC PLL Locked Interface of Modular ADC Core and Modular Dual ADC Core
Visible to Intel only — GUID: ojm1702374880509
Ixiasoft
5.6.1. Driver API
Prototype: | void adc_stop(int sequencer_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Writes 0 to the Sequencer CMD register RUN bit, and polls the RUN bit until it is 0. |
Prototype: | void adc_start(int sequencer_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Writes 1 to the Sequencer CMD register RUN bit. |
Prototype: | void adc_set_mode_run_once(int sequencer_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Writes 1 to the Sequencer CMD register MODE bit once. Note: Stop the ADC before calling this function. While RUN bit is set, changing ADC mode has no effect. |
Prototype: | void adc_set_mode_run_continuously(int sequencer_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Writes 1 to the Sequencer CMD register MODE bit to continuous. Note: Stop the ADC before calling this function. While RUN bit is set, changing ADC mode has no effect. |
Prototype: | void adc_recalibrate(int sequencer_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | The function performs as follows,
|
Prototype: | void adc_interrupt_enable(int sample_store_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Sets the M_EOP bit in the ADC Sample Storage IER register. |
Prototype: | void adc_interrupt_disable(int sample_store_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Clears the M_EOP bit in the ADC Sample Storage IER register. |
Prototype: | void adc_clear_interrupt_status(int sample_store_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Clears the EOP bits in the Sample Storage ISR register. |
Prototype: | void adc_wait_for_interrupt(int sample_store_base) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Waits while the EOP bit of Sample Storage ISR register is 0. |
Prototype: | int adc_interrupt_asserted(int sample_store_base) |
Include: |
|
Parameter: |
|
Return: | Return -1 if EOP bit is set, 0 if otherwise |
Description: | Reads the EOP bit of Sample Storage IRQ ISR register. |
Prototype: | void alt_adc_word_read(alt_u32 sample_store_base, alt_u32* dest_ptr, alt_u32 len) |
Include: |
|
Parameter: |
|
Return: | - |
Description: | Reads words from the sample store. |
Related Information