stm32f4_i2c_handle_rx_done(9)
π stm32f4_i2c_handle_rx_done β like, the read-side byte-done interrupt handler
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil function from I2C land and it's genuinely so specific that it's giving main character energy. let's go π
πΈ NAME
stm32f4_i2c_handle_rx_done β handles the byte-transfer-finished interrupt when we're doing a read π like, this is the "ooh a byte landed" handler, but only for the read direction. iykyk.
β¨ SYNOPSIS
void stm32f4_i2c_handle_rx_done (struct stm32f4_i2c_dev *i2c_dev );
that's it. that's the whole vibe. no return value, it just does the thing π
π¦ ARGUMENTS
i2c_devβ the controller's private data π«Ά like, the controller's whole lil personal diary of state. you hand it over and the function knows who it's working with.
π₯ DESCRIPTION
so here's the tea β β this function gets called when a new data arrives in the shift register, but the data register hasn't been read yet. π
read that again, because that's the whole bit: byte showed up in the shift register, data register is still sitting there unread, and this is the function that handles that exact moment. no cap, that's literally it. it's a very "right place, right time" kinda function β¨
π SEE ALSO
the whole friend group π«Ά β go check these out:
- Kernel file
./drivers/i2c/busses/i2c-stm32f4.c struct stm32f4_i2c_msg(9)struct stm32f4_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_addr(9)stm32f4_i2c_isr_event(9)stm32f4_i2c_isr_error(9)stm32f4_i2c_xfer_msg(9)stm32f4_i2c_xfer(9)
π tiny sign-off from your girl: this page lives under ./drivers/i2c/busses and it's dated October 2026 β slay, see you in the group chat πΈπ
π¦ 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