IIO_SCAN_FORMAT_FLOAT(9)
β¨ IIO_SCAN_FORMAT_FLOAT(9) β¨
okay so this is straight out of the Kernel API Manual bestie, and it's short but it matters, so pay attention π
πΈ NAME πΈ
IIO_SCAN_FORMAT_FLOAT β the floating-point data format, and yes it's exactly what it sounds like π¦
π SYNOPSIS π
IIO_SCAN_FORMAT_FLOAT
that's it. that's the whole vibe check. no args, no drama, no cap π
π DESCRIPTION π
so basically, IIO_SCAN_FORMAT_FLOAT is the value you drop into iio_scan_type.format when the data you're scanning is made of IEEE 754 floating-point numbers. like, actual floats. decimals. the squishy ones. π
it's giving "just a constant, but make it iconic" β you don't call it, you just use it to tell everyone what kind of data is coming through. iykyk π§
β SEE ALSO β
okay this list is LONG bestie, like genuinely long, but every single one of these is part of the family so we're listing them all, no skipping, periodt π
- the kernel file
./include/linux/iio/iio.hβ the source of truth, go look at it π«Ά struct iio_chan_spec_ext_info(9)struct iio_enum(9)IIO_ENUM(9)IIO_ENUM_AVAILABLE(9)struct iio_mount_matrix(9)IIO_MOUNT_MATRIX(9)struct iio_event_spec(9)IIO_SCAN_FORMAT_SIGNED_INT(9)β the signed-int sibling, iconicIIO_SCAN_FORMAT_UNSIGNED_INT(9)β and the unsigned one, also iconicstruct iio_scan_type(9)struct iio_chan_spec(9)iio_channel_has_info(9)iio_channel_has_available(9)struct iio_info(9)struct iio_buffer_setup_ops(9)struct iio_dev(9)iio_device_register(9)devm_iio_device_register(9)iio_device_claim_direct(9)iio_device_release_direct(9)iio_device_try_claim_buffer_mode(9)iio_device_release_buffer_mode(9)IIO_DEV_ACQUIRE_DIRECT_MODE(9)IIO_DEV_ACQUIRE_FAILED(9)IIO_DEV_GUARD_CURRENT_MODE(9)iio_device_put(9)dev_to_iio_dev(9)iio_device_get(9)iio_device_set_parent(9)iio_device_set_drvdata(9)iio_device_get_drvdata(9)IIO_DECLARE_BUFFER_WITH_TS(9)IIO_DECLARE_DMA_BUFFER_WITH_TS(9)IIO_DECLARE_QUATERNION(9)iio_get_debugfs_dentry(9)iio_device_suspend_triggering(9)iio_device_resume_triggering(9)iio_get_current_scan_type(9)iio_get_masklength(9)iio_for_each_active_channel(9)IIO_DEGREE_TO_RAD(9)IIO_RAD_TO_DEGREE(9)IIO_G_TO_M_S_2(9)IIO_M_S_2_TO_G(9)
ngl there's nothing dangerous here, it's literally just a format constant. but read your sibling pages anyway, they're the main characters of their own stories π₯
and that's the whole page, bestie!! π source lives at ./include/linux/iio, this edition is dated October 2026, and it's filed under the Kernel API Manual. go forth and float, you got this πβ¨ππ
π¦ 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