ads131m_chec...atus_crc_err(9)
β¨ ads131m_check_status_crc_err β¨
okay bestie, welcome to the Kernel API Manual β this one's about ads131m_check_status_crc_err, and yes the page title gets truncated like that, it's giving "my name is too long for the tab bar" energy π
but we move.
πΈ NAME πΈ
ads131m_check_status_crc_err β Checks for an Input CRC error. that's the whole vibe, she checks for CRC errors on the input side π
π¦ SYNOPSIS π¦
int ads131m_check_status_crc_err (struct ads131m_priv *priv );
π ARGUMENTS π
privβ Device private data structure. yeah that's it, that's the whole argument list, she only needs her one (1) struct π«Ά
π₯ DESCRIPTION π₯
okay so here's what she actually does: she sends a NULL command to fetch the STATUS register, then checks the CRC_ERR bit. literally that's the whole job.
and why, you ask? because this is how you verify the integrity of the previous command (like RREG or WREG). so she's the vibe check for whatever you just did β if the last command came through garbled, she'll know π
β RETURN β
0on success β slay, we're clean π-EIOif theCRC_ERRbit is set β nope, something went wrong, the frame is sus π
π SEE ALSO π
Kernel file ./drivers/iio/adc/ti-ads131m02.c
and her whole friend group, fr fr:
ads131m_tx_frame_unlocked(9)ads131m_rx_frame_unlocked(9)ads131m_write_reg_unlocked(9)ads131m_read_reg_unlocked(9)ads131m_rmw_reg(9)ads131m_verify_output_crc(9)ads131m_adc_read(9)ads131m_hw_reset(9)ads131m_sw_reset(9)ads131m_reset(9)ads131m_hw_init(9)ads131m_parse_clock(9)
ngl bestie, if you're getting-EIOback from this one, go check that previousRREG/WREGβ the CRC said no and she does not bluff π
and that's the page!! brought to you from ./drivers/iio/adc, dated October 2026 β ily, go verify your frames, 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