Class TLC549

  • All Implemented Interfaces:
    Impc555, IntbMpc555HB, Ippc32

    public class TLC549
    extends Object
    implements IntbMpc555HB
    Driver for a TLC549 8bit AD-converter connected to the QSPI.
    Connect the converter as follows:
    MPC555 => TLC549:
    PCS0 => CS
    MISO => DATA OUT
    SCK => I/O CLOCK
    Do not connect any other devices on the QSPI interface without adapting the settings of the control lines.
    • Constructor Detail

      • TLC549

        public TLC549()
    • Method Detail

      • init

        public static void init()
        Initializes the QSPI for TLC549.
      • read

        public static short read()
        Reads a digitized analog input value.
        Returns:
        Input value (8bit, 0..255)