stm32h7_spi_set_bpw(9)
π stm32h7_spi_set_bpw β a page from the Kernel API Manual, bestie edition
okay so real talk: this is a kernel API manual page for the function stm32h7_spi_set_bpw(9), and it's genuinely not that deep β it configures bits per word. That's the whole vibe. But we're gonna do this properly because every single detail matters, no cap. π«Ά
β¨ NAME β¨
stm32h7_spi_set_bpw β configure bits per word π
like, it literally just sets up how many bits go in one word. that's her job. that's her whole personality. and she ate.
πΈ SYNOPSIS πΈ
void stm32h7_spi_set_bpw (struct stm32_spi *spi );
(and yes bestie, that space before the closing paren is canon β I did not touch it, I would never π )
π¦ ARGUMENTS π¦
spiβ pointer to the spi controller data structure. that's it. that's the whole argument list. she takes one (1) pointer and she's not sorry about it. π
π SEE ALSO π
okay so this is the part where the page goes feral and lists basically the entire driver's friend group. everyone's here. the whole group chat. iykyk. starting with the kernel file these all live in: ./drivers/spi/spi-stm32.c β and yes, that file is the main character.
the structs, the icons, the blueprint girlies:
struct stm32_spi_reg(9),struct stm32_spi_regspec(9),struct stm32_spi_cfg(9),struct stm32_spi(9)
the "how many bits" committee:
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)
the write girlies:
the read girlies:
the on/off girlies:
the interrupt era:
stm32fx_spi_irq_event(9),stm32fx_spi_irq_thread(9),stm32h7_spi_irq_thread(9),stm32_spi_prepare_msg(9)
the DMA committee:
stm32fx_spi_dma_tx_cb(9),stm32_spi_dma_rx_cb(9),stm32_spi_dma_config(9),stm32fx_spi_transfer_one_irq(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)
the bpw siblings (family reunion):
stm32f4_spi_set_bpw(9),stm32f7_spi_set_bpw(9),stm32_spi_set_mbr(9),stm32_spi_communication_type(9)
the mode + timing crew:
stm32fx_spi_set_mode(9),stm32h7_spi_set_mode(9),stm32h7_spi_data_idleness(9),stm32h7_spi_number_of_data(9)
the transfer-to-endgirlies:
stm32_spi_transfer_one_setup(9),stm32_spi_can_poll(9),stm32_spi_transfer_one(9),stm32_spi_unprepare_msg(9)
and the config final bosses:
likeβ¦ she knows everyone. she's connected. πβ¨
ngl, this page is short and sweet β one function, one argument, one job, zero drama. but the SEE ALSO section is giving "invited the entire contact list to the group chat". respect. π
and that's the page, bestie! π this gem lives in ./drivers/spi and the version stamp on it is October 2026, and the manual it's chillin' in is the Kernel API Manual β so when you cite it, cite stm32h7_spi_set_bpw(9) from ./drivers/spi, October 2026. slay, go configure those bits per word. ππβ
π¦ 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