Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:flink:functions [2015-02-04 16:54] – graf | software:flink:functions [2015-02-09 15:30] (aktuell) – gelöscht graf | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Available Functions ====== | ||
| - | The functions given below have so far been implemented as VHDL modules (see [[software: | ||
| - | ^function id^name^description^ | ||
| - | |0x00|InfoDevice|info device with unique id| | ||
| - | |0x01|AnalogIn|analog input, ADC| | ||
| - | |0x02|AnalogOut|analog output, DAC, not yet implemented| | ||
| - | |0x05|DigitalIO|digital inputs and outputs, GPIO| | ||
| - | |0x0c|PWM|pulse width modulated outputs| | ||
| - | |||
| - | ==== Subdevice Specific Registers ==== | ||
| - | As described in [[software: | ||
| - | |||
| - | === ADC === | ||
| - | ^Offset^Size [byte] ^Name^r/ | ||
| - | |0x20|4|resolution|r|no|this is the number of resolvable digital steps| | ||
| - | |0x24|4|value_0|r|no|channel 0: digitized input value| | ||
| - | |0x28|4|value_1|r|no|channel 1: digitized input value| | ||
| - | |..|4|..|r/ | ||
| - | The status and configuration registers in the subheader are unused with this function. | ||
| - | |||
| - | === ADC === | ||
| - | ^Offset^Size [byte] ^Name^r/ | ||
| - | |0x20|4|resolution|r|no|this is the number of resolvable digital steps| | ||
| - | |0x24|4|value_0|r|no|channel 0: digitized input value| | ||
| - | |0x28|4|value_1|r|no|channel 1: digitized input value| | ||
| - | |..|4|..|r/ | ||
| - | The status and configuration registers in the subheader are unused with this function. | ||
| - | |||
| - | === GPIO === | ||
| - | ^Offset^Size [byte] ^Name^r/ | ||
| - | |0x20|4|dir_0|r/ | ||
| - | |0x24|4|dir_1|r/ | ||
| - | |..|4|..|r/ | ||
| - | |0xyy|4|val_0|r/ | ||
| - | |0xyy+4|4|val_1|r/ | ||
| - | |..|4|..|r/ | ||
| - | A value of ' | ||
| - | The status register in the subheader is unused with this function. In the configuration register setting the bit 0 will reset the subdevice. | ||
| - | |||
| - | === PWM === | ||
| - | ^Offset^Size [byte] ^Name^r/ | ||
| - | |0x20|4|base_clk|r|no|base clock in Hz| | ||
| - | |0x24|4|ptime_0|r/ | ||
| - | |0x28|4|ptime_1|r/ | ||
| - | |..|4|..|r/ | ||
| - | |0xyy|4|htime_0|r/ | ||
| - | |0xyy+4|4|htime_1|r/ | ||
| - | |..|4|..|r/ | ||
| - | The status register in the subheader is unused with this function. In the configuration register setting the bit 0 will reset the subdevice. | ||