• 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
      • Eingebettete Systemsoftware
      • 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 2024/25
      • Betriebssysteme
      • Middleware – Cloud Computing
      • Systemprogrammierung 2
      • Verlässliche Echtzeitsysteme
      • Virtuelle Maschinen
      • Web-basierte Systeme
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • Systemnahe Programmierung in C (für Wiederholer)
    • Vorlesung
      • Übung
        • Folien
        • Aufgaben
        • SPiCboard
          • Bauanleitung
            • Programmieren im CIP
              • Programmieren von zu Hause
                • libspicboard-Doku
                  • SPiC-IDE
                    • SPiCsim
                      • FAQ
                        • Projekte
                        • Linux libc-Doku
                        • Prüfung
                          • Evaluation
                            • Intern

                            SPiCboard

                            Files | Functions
                            Extended Serial Communication

                            Special operations for serial communication with SPiCboards. More...

                            Files

                            file  com_ext.h
                             

                            Functions

                            int8_t sb_com_setBaud (uint32_t baud)
                             Set the baud rate (transmission frequence) More...
                             
                            uint8_t sb_com_hasReceivedItem ()
                             Check if there is a new byte item in the receive buffer. More...
                             

                            Detailed Description

                            Special operations for serial communication with SPiCboards.

                            See also
                            com_ext.h

                            Function Documentation

                            uint8_t sb_com_hasReceivedItem ( )

                            Check if there is a new byte item in the receive buffer.

                            This method provides information if the next item has been received and

                            In other words, a positive answer ensures that a call to sb_com_receiveByte() would return within the usual processing time (without the need to wait for the other communication end point to begin transmission).

                            Return values
                            1there is one item to receive
                            0currently no item to receive, would have to wait
                            int8_t sb_com_setBaud ( uint32_t  baud)

                            Set the baud rate (transmission frequence)

                            The baud rate is the number of symbols to be transfered within one second. Hence this defines the transmission interval for a single symbol: $ T = \frac{1s}{BAUD\_RATE} $

                            Warning
                            In case your connection is instable you should propably consider a lower frequency!
                            Parameters
                            baudthe desired baud rate
                            Return values
                            4using CPU frequency/1024 for timer
                            3using CPU frequency/256 for timer
                            2using CPU frequency/64 for timer
                            1using CPU frequency/8 for timer
                            0using CPU frequency for timer
                            -1baud rate too high
                            -2baud rate too low
                            -3setting baud rate not supported (default BAUD_RATE is used)
                            Friedrich-Alexander-Universität
                            Erlangen-Nürnberg

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