Class Kernel

    • Field Detail

      • clockFrequency

        public static final int clockFrequency
        Clock frequency of the processor.
        See Also:
        Constant Field Values
      • loopAddr

        static int loopAddr
      • cmdAddr

        static int cmdAddr
    • Constructor Detail

      • Kernel

        public Kernel()
    • Method Detail

      • timeUs

        public static long timeUs()
        Reads the system time.
        Returns:
        System time in µs
      • timeNs

        public static long timeNs()
        Reads the system time.
        Returns:
        System time in ns
      • blink

        public static void blink​(int nTimes)
        Blinks LED on MIO47 pin, nTimes with approx. 100us high time and 100us low time, blocks for 1s
        Parameters:
        nTimes - Number of times the led blinks.
      • enableInterrupts

        public static void enableInterrupts()
        Enables interrupts globally. Individual interrupts for peripheral components must be enabled locally.
      • checkStack

        public static void checkStack()
        Blinks LED on GPIO pin 47 if stack end was overwritten