st_i2c_xfer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 itself
  • msgs β€” Pointer to data to be written ✍️ yes bestie, the actual data lives over here
  • num β€” 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 🌈:

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