sca3000_read_av_freq(9)
π sca3000_read_av_freq(9) π
okay bestie, this page is straight out of the Kernel API Manual, and we are gonna read it together like the group chat is watching. no cap. π«Ά
β¨ NAME β¨
sca3000_read_av_freq β sysfs function to get available frequencies π
π¦ SYNOPSIS π¦
ssize_t sca3000_read_av_freq (struct device *dev , struct
device_attribute *attr , char *buf );
πΈ ARGUMENTS πΈ
devβ Device structure for this device. the main character struct, basically πattrβ Description of the attribute. yes, that attribute β¨bufβ Incoming string. the string coming in π
π DESCRIPTION π
okay so the later modes are only relevant to the ring buffer β and they depend on the current mode. periodt.
also, the data sheet gives rather wide tolerances for these, so integer division will give a good enough answer. and ngl, not all chips have them specified at all ππ
π SEE ALSO π
if you're going down the rabbit hole, the kernel file is ./drivers/iio/accel/sca3000.c, and the whole squad is right here:
struct sca3000_state(9)struct sca3000_chip_info(9)sca3000_reg_lock_on(9)__sca3000_unlock_reg_lock(9)sca3000_write_ctrl_reg(9)sca3000_read_ctrl_reg(9)sca3000_print_rev(9)__sca3000_get_base_freq(9)sca3000_read_raw_samp_freq(9)sca3000_write_raw_samp_freq(9)sca3000_write_event_value(9)sca3000_ring_int_process(9)sca3000_event_handler(9)sca3000_write_event_config(9)sca3000_hw_ring_preenable(9)sca3000_clean_setup(9)
mwah π this page lives under ./drivers/iio/accel, stamped October 2026, and it's filed as sca3000_read_av_freq(9) β slay. ππ
π¦ 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