Class XADC

  • All Implemented Interfaces:
    Iarm32, Izynq7000

    public class XADC
    extends Object
    implements Izynq7000
    Driver for the internal analog to digital converter XADC. The XADC is configured for auto sequence mode for 4 channels. In this mode all 4 channels are repetitively sampled within 12 bit accuracy.
    • Constructor Detail

      • XADC

        public XADC()
    • Method Detail

      • read

        public static int read​(int channel)
        Read the value of the given channel number
        Parameters:
        channel - channel number
        Returns:
        converted value