STRUCT MAX1363_CHIP_INFO(9)
π struct max1363_chip_info(9) π
okay so welcome to the Kernel API Manual, bestie β today we're meeting struct max1363_chip_info, which is literally just the chip-specific information bag for the max1363 driver. it's giving "everything you need to know about this exact ADC chip, handily bundled" β¨
πΈ NAME πΈ
struct max1363_chip_info β chip specific information π«Ά
β¨ SYNOPSIS β¨
struct max1363_chip_info {
const struct iio_info *info;
const struct iio_chan_spec *channels;
int num_channels;
const enum max1363_modes *mode_list;
enum max1363_modes default_mode;
u16 int_vref_mv;
u8 num_modes;
u8 bits;
};
ngl that trailing }; has one extra space before it in the original and we are respecting it. character for character, no cap π
π Members π
infoβ the iio core function callbacks structure. this is where the core goes "hey, call these when you need me" πchannelsβ channel specification. the whole vibe of what channels exist πnum_channelsβ number of channels. literally the count, periodt π’mode_listβ array of available scan modes. all the modes you could possibly serve πdefault_modeβ the scan mode in which the chip starts up. the main character mode at boot βint_vref_mvβ the internal reference voltage. yes bestie, the reference. in millivolts. do not come for her β‘num_modesβ number of modes. how many are even in that array up there π¦bitsβ accuracy of the adc in bits. the resolution flex π
π SEE ALSO π
- Kernel file
./drivers/iio/adc/max1363.c struct max1363_mode(9)struct max1363_state(9)
like, go read the actual driver if you want the full lore, iykyk π
and that's the page!! source/version is ./drivers/iio/adc and it's dated October 2026 β so mark your calendars and stan responsibly π§ββοΈππ
π¦ 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