STRUCT MAX1363_CHIP_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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