STRUCT MCP47FEB02_FEATURES(9)
β¨ struct mcp47feb02_features(9) β¨
okay so bestie, welcome to the Kernel API Manual π this is one of those little kernel pages that's short, sweet, and honestly kind of iconic β it's the chip-specific data struct for the mcp47feb02 driver, and it ate. no cap. let's get into it π«Ά
π NAME
struct mcp47feb02_features β chip specific data β¨
like, literally just "chip specific data." that's the whole vibe. it's the struct that holds the deets each different chip variant needs to spill πΈ
π SYNOPSIS
struct mcp47feb02_features {
const char *name;
unsigned int phys_channels;
unsigned int resolution;
bool have_ext_vref1;
bool have_eeprom;
};
π Members
bestie there are five (5) members and every single one matters, so let's go one by one π
nameβ device name. that's it, that's the field π« it's theconst char *that tells you what the device is called.phys_channelsβ number of hardware channels π₯unsigned int, and it's counting the actual physical channels the hardware has, fr fr.resolutionβ DAC resolution β alsounsigned int, and yes it's the DAC resolution, exactly like it says.have_ext_vref1β the field that answers the question: does the hardware have an the second external voltage reference? π yes, "an the" β the typo is canon, I don't make the rules, I just report them π it's abool, so it's just a yes/no vibe check on that second external voltage reference.have_eepromβ does the hardware have an internal eeprom? π anotherbool, another yes/no. internal eeprom: present or not present, that is the question.
π SEE ALSO
- Kernel file
./drivers/iio/dac/mcp47feb02.cstructmcp47feb02_channel_data(9), structmcp47feb02_data(9)
go read those two sibling structs too, bestie βmcp47feb02_channel_data(9)andmcp47feb02_data(9)β they're right there in the same./drivers/iio/dac/mcp47feb02.cfile and they're lowkey the rest of the story π¦
k that's the whole page, you slayed by reading it π
mwah. this little drop comes to you from the ./drivers/iio/dac directory, dated October 2026, straight out of the Kernel API Manual β periodt πβ¨π
π¦ 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