ads131m_rx_frame_unlocked(9)
π ads131m_rx_frame_unlocked(9) β like, the Kernel API Manual edition, bestie π
okay so real talk, this is a page from the Kernel API Manual and it's literally about pulling a whole SPI data frame out of your device. no cap. let's get into it β¨
πΈ NAME πΈ
ads131m_rx_frame_unlocked β receives a full SPI data frame. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
int ads131m_rx_frame_unlocked (struct ads131m_priv *priv );
like, one arg, one int coming back. clean. minimal. iconic. π
π ARGUMENTS π
privβ the device private data structure. yes bestie, the one. your whole device situation lives in here. π«Ά
β¨ DESCRIPTION β¨
so what this function actually does? it sends a NULL command (with its CRC, don't forget the CRC, the CRC is lowkey the main character here) to clock out a full SPI frame from the device. we're talking response + channel data + CRC, the whole package. it's giving full frame energy. π₯
like, you're not grabbing a little piece of the frame β you're grabbing the whole entire frame. all of it. slay. π
β RETURN β
returns 0 on success, or a negative error code. so if you see a negative number, that's not a cute look, that's an error, go check on it. π
π SEE ALSO π
- Kernel file
./drivers/iio/adc/ti-ads131m02.cβ the actual source, go read it, iykyk π ads131m_tx_frame_unlocked(9)ads131m_check_status_crc_err(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)
the whole friend group fr fr π«Άβ¨
and that's the whole page, bestie. ./drivers/iio/adc, October 2026, that's the source dir and the date β 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