• 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
    • 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)
    • Sommersemester 2026
      • Applied Software Architecture
      • Betriebssystemsicherheit
      • Betriebssystemtechnik
      • System-Level Programming
      • Systemnahe Programmierung in C
      • Systemprogrammierung 1
      • Verlässliche Echtzeitsysteme
      • Verteilte Systeme
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • System-Level Programming
    • Exam
      • Contact

    FAQ

    Files | Enumerations | Functions
    ADC (Analog to Digital Converter)

    Interface to the AD-converter of the ATmega32, which allows to query the potentiometer and the photosensor of the board. More...

    Files

    file  adc.h
     

    Enumerations

    enum  ADCDEV { POTI , PHOTO }
     Device ids of available periphery connected to ADC channels. More...
     

    Functions

    int16_t sb_adc_read (ADCDEV dev)
     Perform a 10-bit A/D conversion for a specific channel/device. More...
     

    Detailed Description

    Interface to the AD-converter of the ATmega32, which allows to query the potentiometer and the photosensor of the board.

    Enumeration Type Documentation

    enum ADCDEV

    Device ids of available periphery connected to ADC channels.

    Enumerator
    POTI 

    the potentiometer (rotation towards LEDs yields higher numbers)

    PHOTO 

    the photosensor (brighter ambience yields higher numbers)

    Function Documentation

    int16_t sb_adc_read ( ADCDEV  dev)

    Perform a 10-bit A/D conversion for a specific channel/device.

    Parameters
    devid of a device connected to the ADC
    Return values
    >=010-bit result of the conversion
    -1invalid device id
    Friedrich-Alexander-Universität
    Erlangen-Nürnberg

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