Class MMCSM_COUNT

  • All Implemented Interfaces:
    Impc555, IntbMpc555HB, Ippc32

    public class MMCSM_COUNT
    extends Object
    implements IntbMpc555HB
    Driver to use the Mios Modulus Counter to count external events. Attention: Using this driver may lead to MDASM module to be no longer usable for double action function
    • Field Detail

      • channel

        int channel
    • Constructor Detail

      • MMCSM_COUNT

        public MMCSM_COUNT​(int channel)
        Create a counter on a MMCSM pin.
        Parameters:
        channel - select module channel 11 or 13
    • Method Detail

      • getCount

        public short getCount()
        Read the count value.
        Returns:
        the count value of the corresponding channel.