• Navigation überspringen
  • Zur Navigation
  • Zum Seitenende
Organisationsmenü öffnen Organisationsmenü schließen
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
  • FAUZur zentralen FAU Website
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Suche öffnen
  • English
  • Campo
  • StudOn
  • FAUdir
  • Stellenangebote
  • Lageplan
  • Hilfe im Notfall
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
Menu Menu schließen
  • Lehrstuhl
    • Team
    • Aktuelles
    • Kontakt und Anfahrt
    • Leitbild
    • 50-jähriges Jubiläum
    Portal Lehrstuhl
  • Forschung
    • Forschungsbereiche
      • Betriebssysteme
      • Confidential Computing
      • Embedded Systems Software
      • Verteilte Systeme
    • Projekte
      • AIMBOS
      • BALu
      • BFT2Chain
      • DOSS
      • Mirador
      • NEON
      • PAVE
      • ResPECT
      • Watwa
    • Projektkampagnen
      • maRE
    • Seminar
      • Systemsoftware
    Portal Forschung
  • Publikationen
  • Lehre
    • Sommersemester 2025
      • Applied Software Architecture
      • Ausgewählte Kapitel der Systemsoftware
      • Betriebssystemtechnik
      • Projekt angewandte Systemsoftwaretechnik
      • System-Level Programming
      • Systemnahe Programmierung in C
      • Systemprogrammierung 1
      • Verteilte Systeme
    • Wintersemester 2025/26
      • Systemprogrammierung 2
      • Betriebssysteme
      • Middleware – Cloud Computing
      • Echtzeitsysteme
      • Virtuelle Maschinen
      • Web-basierte Systeme
      • Projekt angewandte Systemsoftwaretechnik
      • Aktuelle Entwicklung in Verteilten und Objektorientierten Betriebssystemen (für Bachelor-/Masterarbeit)
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • Betriebssysteme
    • Vorlesung
      • Folien
    • Übung
      • Seminar
      • Aufgaben
      • Aufgabe 0: C++ Streams
        • Aufgabe 1: Ein-/Ausgabe
          • Aufgabe 2: Unterbrechungen
            • Aufgabe 3: Pro-/Epilog
              • Aufgabe 4: Kontextwechsel
                • Aufgabe 5: Zeitscheiben
                  • Aufgabe 6: Synchronisation
                    • Assembler Crashkurs
                      • C++ Crashkurs
                        • Entwicklungsumgebung
                          • FAQ
                            • Ruhmeshalle

                          Aufgabe 6: Synchronisation

                          Static Public Member Functions | Protected Types | Static Protected Member Functions | List of all members
                          RTC Class Reference

                          Real Time Clock. More...

                          #include <machine/rtc.h>

                          + Inheritance diagram for RTC:
                          [legend]

                          Static Public Member Functions

                          static DateTime getDateTime ()
                           Get current date and time. More...
                           

                          Protected Types

                          enum  Interrupt {
                            NONE = 0 ,
                            UPDATE = 1 << 4 ,
                            ALARM = 1 << 5 ,
                            PERIODIC = 1 << 6
                          }
                           Possible Interrupt sources. More...
                           
                          enum  PeriodicFrequency {
                            FREQ_NONE = 0 ,
                            FREQ_8192HZ = 3 ,
                            FREQ_4096HZ = 4 ,
                            FREQ_2048HZ = 5 ,
                            FREQ_1024HZ = 6 ,
                            FREQ_512HZ = 7 ,
                            FREQ_256HZ = 8 ,
                            FREQ_128HZ = 9 ,
                            FREQ_64HZ = 10 ,
                            FREQ_32HZ = 11 ,
                            FREQ_16HZ = 12 ,
                            FREQ_8HZ = 13 ,
                            FREQ_4HZ = 14 ,
                            FREQ_2HZ = 15
                          }
                           Frequencies for periodic interval. More...
                           

                          Static Protected Member Functions

                          static void setPeriodic (enum PeriodicFrequency freq)
                           Set a periodic interrupt interval. More...
                           
                          static void setAlarm (uint8_t hour, uint8_t minute, uint8_t second)
                           Set an alarm. More...
                           
                          static void receiveInterrupt (Interrupt i, bool enable)
                           Enable or disable an interrupt source. More...
                           
                          static Interrupt getSource ()
                           Get the source of the last interrupt. More...
                           

                          Detailed Description

                          Real Time Clock.

                          Member Enumeration Documentation

                          enum RTC::Interrupt
                          protected

                          Possible Interrupt sources.

                          Enumerator
                          UPDATE 

                          Time Update Ended Interrupt.

                          ALARM 

                          Alarm Interrupt.

                          PERIODIC 

                          Periodic Timer Interrupt.

                          enum RTC::PeriodicFrequency
                          protected

                          Frequencies for periodic interval.

                          Enumerator
                          FREQ_8192HZ 

                          122.070 µs

                          FREQ_4096HZ 

                          244.141 µs

                          FREQ_2048HZ 

                          488.281 µs

                          FREQ_1024HZ 

                          976.562 µs

                          FREQ_512HZ 

                          1.953125 ms

                          FREQ_256HZ 

                          3.90625 ms

                          FREQ_128HZ 

                          7.8125 ms

                          FREQ_64HZ 

                          15.625 ms

                          FREQ_32HZ 

                          31.25 ms

                          FREQ_16HZ 

                          62.5 ms

                          FREQ_8HZ 

                          125 ms

                          FREQ_4HZ 

                          250 ms

                          FREQ_2HZ 

                          500 ms

                          Member Function Documentation

                          void RTC::setPeriodic ( enum PeriodicFrequency  freq)
                          staticprotected

                          Set a periodic interrupt interval.

                          Note
                          You can safely ignore this method
                          Parameters
                          freqFrequency
                          void RTC::setAlarm ( uint8_t  hour,
                          uint8_t  minute,
                          uint8_t  second 
                          )
                          staticprotected

                          Set an alarm.

                          Note
                          You can safely ignore this method
                          Parameters
                          hourHour
                          minuteMinute
                          secondSecond
                          void RTC::receiveInterrupt ( Interrupt  i,
                          bool  enable 
                          )
                          staticprotected

                          Enable or disable an interrupt source.

                          Parameters
                          iInterrupt source
                          enabletrue to enable source, false to disable it.
                          RTC::Interrupt RTC::getSource ( )
                          staticprotected

                          Get the source of the last interrupt.

                          Returns
                          Interrupt source
                          DateTime RTC::getDateTime ( )
                          static

                          Get current date and time.

                          Note
                          You have to detect clock updates while fetching the time, or you might have an error.
                          Returns
                          current date and time

                          The documentation for this class was generated from the following files:
                          • machine/rtc.h
                          • machine/rtc.cc
                          Friedrich-Alexander-Universität
                          Erlangen-Nürnberg

                          Schlossplatz 4
                          91054 Erlangen
                          • Impressum
                          • Datenschutz
                          • Barrierefreiheit
                          • Facebook
                          • RSS Feed
                          • Xing
                          Nach oben