st_i2c_xfer(9)
β¨ st_i2c_xfer(9) β the Kernel API Manual, bestie edition β¨
okay so this is st_i2c_xfer from the Linux Kernel API Manual and it's literally the function that sends one single I2C message out into the world π
like it's giving "just one message" energy and honestly? iconic.
πΈ NAME πΈ
st_i2c_xfer β Transfer a single I2C message π¦
π SYNOPSIS π
int st_i2c_xfer (struct i2c_adapter *i2c_adap , struct i2c_msg msgs[] ,
int num );
no cap, that's the whole signature β¨
π ARGUMENTS π
i2c_adapβ Adapter pointer to the controller π« like this is your little handle to the controller itselfmsgsβ Pointer to data to be written βοΈ yes bestie, the actual data lives over herenumβ Number of messages to be executed π’ how many we're running, periodt
π«Ά SEE ALSO π«Ά
Kernel file ./drivers/i2c/busses/i2c-st.c and its whole friend group π:
struct st_i2c_timings(9)struct st_i2c_client(9)struct st_i2c_dev(9)st_i2c_hw_config(9)st_i2c_write_tx_fifo(9)st_i2c_wr_fill_tx_fifo(9)st_i2c_rd_fill_tx_fifo(9)st_i2c_terminate_xfer(9)st_i2c_handle_write(9)st_i2c_handle_read(9)st_i2c_isr_thread(9)st_i2c_xfer_msg(9)
the way that list just goes on and on π but every single one is a main character, iykyk π
heads up bestie π the source path on that SEE ALSO line is ./drivers/i2c/busses and that's where all this lives β don't go looking anywhere else π
β¨ cute little sign-off β¨ β this page comes from the ./drivers/i2c/busses source, st_i2c_xfer(9), dated October 2026 π that's a wrap, ily, go transfer some messages π¦π
π¦ 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