stm32fx_spi_...sfer_one_irq(9)
π
stm32fx_spi_transfer_one_irq(9) β Kernel API Manual π
okay so bestie, we're in the Linux kernel docs, the Kernel API Manual section, and today's main character is a little function that moves exactly one SPI transfer using interrupts. no DMA nonsense, no polling, just vibes and IRQs β¨
β¨ NAME β¨
stm32fx_spi_transfer_one_irq β transfer a single spi_transfer using interrupts π«Ά
πΈ SYNOPSIS πΈ
int stm32fx_spi_transfer_one_irq (struct stm32_spi *spi );
π¦ ARGUMENTS π¦
spiβ pointer to the spi controller data structure. yes it's the whole controller, not a transfer object, don't come for me π
β DESCRIPTION β
so like, the entire personality of this function is its return value, and it must return 0 if the transfer is finished, or 1 if the transfer is still in progress. that's it, that's the whole deal π₯
bestie pls respect the contract: it must return0when the transfer is done and1when it's still in progress. no in-between, no-EAGAINshenanigans here π
π SEE ALSO π
Kernel file ./drivers/spi/spi-stm32.c plus this whole friend group of kernel symbols, all (9)-coded:
struct stm32_spi_reg(9)struct stm32_spi_regspec(9)struct stm32_spi_cfg(9)struct stm32_spi(9)stm32h7_spi_get_fifo_size(9)stm32f4_spi_get_bpw_mask(9)stm32f7_spi_get_bpw_mask(9)stm32h7_spi_get_bpw_mask(9)stm32mp25_spi_get_bpw_mask(9)stm32_spi_prepare_mbr(9)stm32h7_spi_prepare_fthlv(9)stm32f4_spi_write_tx(9)stm32f7_spi_write_tx(9)stm32h7_spi_write_txfifo(9)stm32f4_spi_read_rx(9)stm32f7_spi_read_rx(9)stm32h7_spi_read_rxfifo(9)stm32_spi_enable(9)stm32fx_spi_disable(9)stm32h7_spi_disable(9)stm32_spi_can_dma(9)stm32fx_spi_irq_event(9)stm32fx_spi_irq_thread(9)stm32h7_spi_irq_thread(9)stm32_spi_prepare_msg(9)stm32fx_spi_dma_tx_cb(9)stm32_spi_dma_rx_cb(9)stm32_spi_dma_config(9)stm32h7_spi_transfer_one_poll(9)stm32h7_spi_transfer_one_irq(9)stm32fx_spi_transfer_one_dma_start(9)stm32f7_spi_transfer_one_dma_start(9)stm32h7_spi_transfer_one_dma_start(9)stm32_spi_prepare_rx_dma_mdma_chaining(9)stm32_spi_transfer_one_dma(9)stm32f4_spi_set_bpw(9)stm32f7_spi_set_bpw(9)stm32h7_spi_set_bpw(9)stm32_spi_set_mbr(9)stm32_spi_communication_type(9)stm32fx_spi_set_mode(9)stm32h7_spi_set_mode(9)stm32h7_spi_data_idleness(9)stm32h7_spi_number_of_data(9)stm32_spi_transfer_one_setup(9)stm32_spi_can_poll(9)stm32_spi_transfer_one(9)stm32_spi_unprepare_msg(9)stm32fx_spi_config(9)stm32h7_spi_config(9)
π the cute lil sign-off π
this page lives in ./drivers/spi, dated October 2026, and it's page stm32fx_spi_...sfer_one_irq(9) of the Kernel API Manual β go read the actual source bestie, it's giving iconic ππ§ββοΈ
π¦ 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