Class QSMCM

    • Field Detail

      • scc1r1SBK

        public static final int scc1r1SBK
        SCI1 control register 1 (SCC1R1) flags.
        0 normal operation
        1 break frame(s) transmitted after completion of current frame
        See Also:
        Constant Field Values
      • scc1r1RWU

        public static final int scc1r1RWU
        Receiver Wakeup.
        0 normal receiver operation (received data recognized)
        1 Wakeup mode enabled (received data ignored until awakened)
        See Also:
        Constant Field Values
      • scc1r1RE

        public static final int scc1r1RE
        Receiver Enable.
        0 SCI receiver disabled (status bits inhibited)
        1 SCI receiver enabled
        See Also:
        Constant Field Values
      • scc1r1TE

        public static final int scc1r1TE
        Transmitter Enable.
        0 SCI transmitter disabled (TXD pin can be used as I/O)
        1 SCI transmitter enabled (TXD pin dedicated to SCI transmitter)
        See Also:
        Constant Field Values
      • scc1rILIE

        public static final int scc1rILIE
        Idle-Line Interrupt Enable.
        0 SCI IDLE interrupts inhibited
        1 SCI IDLE interrupts enabled
        See Also:
        Constant Field Values
      • scc1r1RIE

        public static final int scc1r1RIE
        Receiver Interrupt Enable.
        0 SCI RDRF and OR interrupts inhibited
        1 SCI RDRF and OR interrupts enabled
        See Also:
        Constant Field Values
      • scc1r1TCIE

        public static final int scc1r1TCIE
        Transmit Complete Interrupt Enable.
        0 SCI TC interrupts inhibited
        1 SCI TC interrupts enabled
        See Also:
        Constant Field Values
      • scc1r1TIE

        public static final int scc1r1TIE
        Transmit Interrupt Enable.
        0 SCI TDRE interrupts inhibited
        1 SCI TDRE interrupts enabled
        See Also:
        Constant Field Values
      • scc1r1WAKE

        public static final int scc1r1WAKE
        Wakeup by Address Mark.
        0 SCI receiver awakened by idle-line detection
        1 SCI receiver awakened by address mark (last bit set)
        See Also:
        Constant Field Values
      • scc1r1M

        public static final int scc1r1M
        Mode Select.
        0 10-bit SCI frame
        1 11-bit SCI frame
        See Also:
        Constant Field Values
      • scc1r1PE

        public static final int scc1r1PE
        Parity Enable.
        0 SCI parity disabled
        1 SCI parity enabled
        See Also:
        Constant Field Values
      • scc1r1PT

        public static final int scc1r1PT
        Parity Type.
        0 even parity
        1 odd parity
        See Also:
        Constant Field Values
      • scc1r1ILT

        public static final int scc1r1ILT
        Idle-Line Detect Type.
        0 Short idle-line detect (start count on first one)
        1 Long idle-line detect (start count on first one after stop bit(s))
        See Also:
        Constant Field Values
      • scc1r1WOMS

        public static final int scc1r1WOMS
        Wired-OR Mode for SCI Pins.
        0 If configured as an output, TXD is a normal CMOS output
        1 If configured as an output, TXD is an open-drain output
        See Also:
        Constant Field Values
      • scc1r1LOOPS

        public static final int scc1r1LOOPS
        Loop Mode.
        0 normal SCI operation, no looping, feedback path disabled
        1 Test SCI operation, looping, feedback path enabled
        See Also:
        Constant Field Values
      • sc1srPF

        public static final int sc1srPF
        Parity Error.
        0 No parity error on the received data
        1 Parity error ocured on the received data
        See Also:
        Constant Field Values
      • sc1srFE

        public static final int sc1srFE
        Framing Error.
        0 No framing error on the received data
        1 Framing error or break ocured on the received data
        See Also:
        Constant Field Values
      • sc1srNF

        public static final int sc1srNF
        Noise Error Flag.
        0 No noise detectedon the received data
        1 Noise ocured on the received data
        See Also:
        Constant Field Values
      • sc1srOR

        public static final int sc1srOR
        Overrun Error.
        0 RDRF is cleare before new data arrives
        1 RDRF is not cleare before new data arrives
        See Also:
        Constant Field Values
      • sc1srIDLE

        public static final int sc1srIDLE
        Idle-Line detected.
        0 SCI receiver did not detect an idle-line condition
        1 SCI receiver detected an idle-line condition
        See Also:
        Constant Field Values
      • sc1srRAF

        public static final int sc1srRAF
        Receiver Active.
        0 SCI receiver is idle
        1 SCI receiver is busy
        See Also:
        Constant Field Values
      • sc1srRDRF

        public static final int sc1srRDRF
        Receiver Data Register Full.
        0 Register RDR is empty or contains previously read data
        1 Register RDR contains new data
        See Also:
        Constant Field Values
      • sc1srTC

        public static final int sc1srTC
        Transmit Complete.
        0 SCI transmitter is busy
        1 SCI transmitter is idle
        See Also:
        Constant Field Values
      • sc1srTDRE

        public static final int sc1srTDRE
        Transmit Data Register Empty.
        0 Register TDR still contains data to be sent to the transmit serial shifter
        1 A new character can now be written to register TDR
        See Also:
        Constant Field Values
      • scc2r1SBK

        public static final int scc2r1SBK
        SCI1 control register 1 (scc2R1) flags.
        0 normal operation
        1 break frame(s) transmitted after completion of current frame
        See Also:
        Constant Field Values
      • scc2r1RWU

        public static final int scc2r1RWU
        Receiver Wakeup.
        0 normal receiver operation (received data recognized)
        1 Wakeup mode enabled (received data ignored until awakened)
        See Also:
        Constant Field Values
      • scc2r1RE

        public static final int scc2r1RE
        Receiver Enable.
        0 SCI receiver disabled (status bits inhibited)
        1 SCI receiver enabled
        See Also:
        Constant Field Values
      • scc2r1TE

        public static final int scc2r1TE
        Transmitter Enable.
        0 SCI transmitter disabled (TXD pin can be used as I/O)
        1 SCI transmitter enabled (TXD pin dedicated to SCI transmitter)
        See Also:
        Constant Field Values
      • scc2r1ILIE

        public static final int scc2r1ILIE
        Idle-Line Interrupt Enable.
        0 SCI IDLE interrupts inhibited
        1 SCI IDLE interrupts enabled
        See Also:
        Constant Field Values
      • scc2r1RIE

        public static final int scc2r1RIE
        Receiver Interrupt Enable.
        0 SCI RDRF and OR interrupts inhibited
        1 SCI RDRF and OR interrupts enabled
        See Also:
        Constant Field Values
      • scc2r1TCIE

        public static final int scc2r1TCIE
        Transmit Complete Interrupt Enable.
        0 SCI TC interrupts inhibited
        1 SCI TC interrupts enabled
        See Also:
        Constant Field Values
      • scc2r1TIE

        public static final int scc2r1TIE
        Transmit Interrupt Enable.
        0 SCI TDRE interrupts inhibited
        1 SCI TDRE interrupts enabled
        See Also:
        Constant Field Values
      • scc2r1WAKE

        public static final int scc2r1WAKE
        Wakeup by Address Mark.
        0 SCI receiver awakened by idle-line detection
        1 SCI receiver awakened by address mark (last bit set)
        See Also:
        Constant Field Values
      • scc2r1M

        public static final int scc2r1M
        Mode Select.
        0 10-bit SCI frame
        1 11-bit SCI frame
        See Also:
        Constant Field Values
      • scc2r1PE

        public static final int scc2r1PE
        Parity Enable.
        0 SCI parity disabled
        1 SCI parity enabled
        See Also:
        Constant Field Values
      • scc2r1PT

        public static final int scc2r1PT
        Parity Type.
        0 even parity
        1 odd parity
        See Also:
        Constant Field Values
      • scc2r1ILT

        public static final int scc2r1ILT
        Idle-Line Detect Type.
        0 Short idle-line detect (start count on first one)
        1 Long idle-line detect (start count on first one after stop bit(s))
        See Also:
        Constant Field Values
      • scc2r1WOMS

        public static final int scc2r1WOMS
        Wired-OR Mode for SCI Pins.
        0 If configured as an output, TXD is a normal CMOS output
        1 If configured as an output, TXD is an open-drain output
        See Also:
        Constant Field Values
      • scc2r1LOOPS

        public static final int scc2r1LOOPS
        Loop Mode.
        0 normal SCI operation, no looping, feedback path disabled
        1 Test SCI operation, looping, feedback path enabled
        See Also:
        Constant Field Values
      • sc2srPF

        public static final int sc2srPF
        Parity Error.
        0 No parity error on the received data
        1 Parity error ocured on the received data
        See Also:
        Constant Field Values
      • sc2srFE

        public static final int sc2srFE
        Framing Error.
        0 No framing error on the received data
        1 Framing error or break ocured on the received data
        See Also:
        Constant Field Values
      • sc2srNF

        public static final int sc2srNF
        Noise Error Flag.
        0 No noise detectedon the received data
        1 Noise ocured on the received data
        See Also:
        Constant Field Values
      • sc2srOR

        public static final int sc2srOR
        Overrun Error.
        0 RDRF is cleare before new data arrives
        1 RDRF is not cleare before new data arrives
        See Also:
        Constant Field Values
      • sc2srIDLE

        public static final int sc2srIDLE
        Idle-Line detected.
        0 SCI receiver did not detect an idle-line condition
        1 SCI receiver detected an idle-line condition
        See Also:
        Constant Field Values
      • sc2srRAF

        public static final int sc2srRAF
        Receiver Active.
        0 SCI receiver is idle
        1 SCI receiver is busy
        See Also:
        Constant Field Values
      • sc2srRDRF

        public static final int sc2srRDRF
        Receiver Data Register Full.
        0 Register RDR is empty or contains previously read data
        1 Register RDR contains new data
        See Also:
        Constant Field Values
      • sc2srTC

        public static final int sc2srTC
        Transmit Complete.
        0 SCI transmitter is busy
        1 SCI transmitter is idle
        See Also:
        Constant Field Values
      • sc2srTDRE

        public static final int sc2srTDRE
        Transmit Data Register Empty.
        0 Register TDR still contains data to be sent to the transmit serial shifter
        1 A new character can now be written to register TDR
        See Also:
        Constant Field Values
    • Constructor Detail

      • QSMCM

        public QSMCM()
    • Method Detail

      • init

        public static void init()
        Call this method to initialize the interrupt levels if you use SPI or SCI interrupts.