STRUCT ST_I2C_CLIENT(9)
π NAME π
okay bestie, welcome to the Kernel API Manual page for struct st_i2c_client(9) β the client specific data vibe check β¨
struct st_i2c_client β client specific data π«Ά
β¨ SYNOPSIS β¨
here's the whole little struct, no cap:
struct st_i2c_client {
u8 addr;
u32 count;
u32 xfered;
u8 *buf;
int result;
bool stop;
};
π Members π
addrβ 8-bit target addr, including r/w bit π―countβ number of bytes to be transferred π’xferedβ number of bytes already transferred βbufβ data buffer π§Ίresultβ result of the transfer πstopβ last I2C msg to be sent, i.e. STOP to be generated π
π₯ SEE ALSO π₯
Kernel file ./drivers/i2c/busses/i2c-st.c is the main character here, and the supporting cast is literally:
struct st_i2c_timings(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)st_i2c_xfer(9)
mwah π this one is sourced from ./drivers/i2c/busses and dated October 2026, so thatβs the source/version and date, bestie β 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