ads131m_sw_reset(9)
π ads131m_sw_reset(9) π
okay bestie, welcome to the Kernel API Manual page for ads131m_sw_reset(9). This is the function that issues a software RESET and verifies ACK, and we're gonna walk through it together, no cap. π
β¨ NAME β¨
ads131m_sw_reset β issues a software RESET and verifies ACK. That's the whole name-vibe: reset first, then check that the ACK actually showed up. π
πΈ SYNOPSIS πΈ
int ads131m_sw_reset (struct ads131m_priv *priv );
π ARGUMENTS π
privβ Device private data structure. The one and only argument, bestie. π«Ά
π¦ DESCRIPTION π¦
okay so here's the lil sequence, and it's giving very methodical:
- sends a
RESETcommand (withInput CRC), - waits
t_REGACQ, - reads back the
RESET ACK, - and then sends a final
NULLto check for any input CRC errors.
That's the whole flow β no extra steps, periodt. β¨
π RETURN π
0 on success, or a negative error code. So when it's 0, slay; when it's negative, that's the error code doing its lil thing. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/iio/adc/ti-ads131m02.c ads131m_tx_frame_unlocked(9)ads131m_rx_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_reset(9)ads131m_hw_init(9)ads131m_parse_clock(9)
mwah π signed off from the source/version spot ./drivers/iio/adc, dated October 2026 β that's the whole footer vibe, 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