Dies ist eine alte Version des Dokuments!


Avalable Functions

The functions given below have so far been implemented as VHDL modules (see VHDL). For all of them a suitable driver is available in the flink Userspace Library

function idnamedescription
0x00unusedthis function id is not used
0x01AnalogInanalog input, ADC
0x02AnalogOutanalog output, DAC
0x0cPWMpulse width modulated outputs

Subdevice Specific Registers

As described in flink, Universal Serial Interface to FPGA's every subdevice realizes a certain function. The function id together with status and configuration registers can be found in the header and subheader section. Every subdevice has further registers which are specific for a certain function. These registers are described below for the available functions.

PWM

OffsetSize [byte] Namer/wConstDescription
0x204base_clkrnobase clock in Hz
0x244ptime_0r/wnochannel 0: period in multiples of base clock
0x284ptime_1r/wnochannel 1: period in multiples of base clock
..4..r/wno..
0xyy4htime_0r/wnochannel 0: high time in multiples of base clock
0xyy+44htime_1r/wnochannel 1: high time in multiples of base clock
..4..r/wno..