STRUCT STM32F4_I2C_MSG(9)
β¨ NAME β¨
okay so bestie, this is struct stm32f4_i2c_msg(9) from the Kernel API Manual, and the vibe is literally: struct stm32f4_i2c_msg β client specific data. no cap, thatβs the whole name bit π
π SYNOPSIS π
hereβs the struct in all its main-character glory:
struct stm32f4_i2c_msg {
u8 addr;
u32 count;
u8 *buf;
int result;
bool stop;
};
π«Ά Members π«Ά
addrβ the 8-bit target addr, including the r/w bit. yes, r/w is in there too, bestie β¨countβ number of bytes to be 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-stm32f4.cstructstm32f4_i2c_dev(9),stm32f4_i2c_hw_config(9),stm32f4_i2c_write_byte(9),stm32f4_i2c_write_msg(9),stm32f4_i2c_handle_write(9),stm32f4_i2c_handle_read(9),stm32f4_i2c_handle_rx_done(9),stm32f4_i2c_handle_rx_addr(9),stm32f4_i2c_isr_event(9),stm32f4_i2c_isr_error(9),stm32f4_i2c_xfer_msg(9),stm32f4_i2c_xfer(9)β go read these too, iykyk π¦
ok bye bestie π«Ά this page lives under ./drivers/i2c/busses, itβs dated October 2026, and itβs literally the struct stm32f4_i2c_msg(9) page π
β¨
π¦ 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