STRUCT AD5755_PLATFORM_DATA(9)
β¨ struct ad5755_platform_data β the AD5755 DAC driver's platform data β¨
okay so bestie, this is a page from the Kernel API Manual, and it's all about struct ad5755_platform_data β literally the platform data for the AD5755 DAC driver π ngl it's a whole little config bundle you hand to the driver so it knows how you wired everything up. Let's get into it π
πΈ NAME πΈ
struct ad5755_platform_data β AD5755 DAC driver platform data. That's it, that's the name, periodt β¨
π SYNOPSIS π
here's the whole shape of it, character for character, no cap:
struct ad5755_platform_data {
bool ext_dc_dc_compenstation_resistor;
enum ad5755_dc_dc_phase dc_dc_phase;
enum ad5755_dc_dc_freq dc_dc_freq;
enum ad5755_dc_dc_maxv dc_dc_maxv;
struct {
enum ad5755_mode mode;
bool ext_current_sense_resistor;
bool enable_voltage_overrange;
struct {
bool enable;
enum ad5755_slew_rate rate;
enum ad5755_slew_step_size step_size;
} slew;
} dac[4];
};
like, look at that nested struct energy π there's a dac[4] array in there with its own little slew struct living inside it. main character nesting fr fr π¦
π Members π
okay so every single one of these, in order, no skipping:
ext_dc_dc_compenstation_resistorβ tells you whether an external DC-DC converter compensation register is used. (yes bestie, that spelling is exactly how it's written in the source β we do not fix it, we respect it π)dc_dc_phaseβ the DC-DC converter phase.dc_dc_freqβ the DC-DC converter frequency.dc_dc_maxvβ the DC-DC maximum allowed boost voltage.dacβ the per DAC instance parameters π (there's four of them, remember thedac[4]?)dac.modeβ the mode to be used for the DAC output.dac.ext_current_sense_resistorβ whether an external current sense resistor is used.dac.enable_voltage_overrangeβ whether to enable 20% voltage output overrange. twenty percent, iconic β¨dac.slew.enableβ whether to enable digital slew.dac.slew.rateβ the slew rate of the digital slew. slay rate, honestly π₯dac.slew.step_sizeβ the slew step size of the digital slew.
π¦ SEE ALSO π¦
go look at these if you're nosy like me π
- the Kernel file
./drivers/iio/dac/ad5755.c struct ad5755_chip_info(9)struct ad5755_state(9)
π‘ friendly reminder that all of this lives under ./drivers/iio/dac β that's the neighborhood, bestie π‘
and that's the whole page, you ate that π«Άπ this was struct ad5755_platform_data(9) from the Kernel API Manual, dated October 2026, living its best life at ./drivers/iio/dac β mwah, go read the driver now, ily, bye πβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms