sysmon: xsysmon_extmux_example.c File Reference

| sysmon Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xsysmon_extmux_example.c File Reference

## Overview

This file contains a design example using the driver functions of the System Monitor/ADC driver.

This example shows the usage of the driver/device in interrupt mode with external mux and XADC in Simulateneous Sequencer mode. This example hasn't been tested with the analog inputs connected through external mux. It is provided to illustrate the usage of external mux.

Note

This code assumes that no Operating System is being used.

    MODIFICATION HISTORY:

    Ver   Who  Date     Changes

    5.00a sdm  08/30/11 First release
    5.03a bss  04/25/13 Modified SysMonIntrExample function to set
                  Sequencer Mode as Safe mode instead of Single
                  channel mode before configuring Sequencer registers.
                  CR #703729
    7.3   ms   01/23/17 Added xil_printf statement in main function to
                        ensure that "Successfully ran" and "Failed" strings
                        are available in all examples. This is a fix for
                        CR-965028.

## Functions
int | main (void)
| Main function that invokes the Interrupt example. More...

## Function Documentation

int main | ( | void |  | ) |

Main function that invokes the Interrupt example.

Parameters

  None. |

Returns
  - XST_SUCCESS if the example has completed successfully.
  - XST_FAILURE if the example has failed.

Note
  None.

References SysMonIntrExample().