stm32f4_spi_get_bpw_mask(9)
π stm32f4_spi_get_bpw_mask(9) β Kernel API Manual β¨
okay bestie, welcome to the manual page for stm32f4_spi_get_bpw_mask, straight out of the Kernel API Manual, no cap π«Ά
πΈ NAME πΈ
stm32f4_spi_get_bpw_mask β literally just returns the bits-per-word mask π that's it, that's the whole job, and honestly? iconic.
π SYNOPSIS π
int stm32f4_spi_get_bpw_mask (struct stm32_spi *spi );
so it's a function that hands you back an int, and it takes exactly one thing. main character energy, minimal effort, maximum slay β¨
π¦ ARGUMENTS π¦
spiβ pointer to the spi controller data structure π fr fr, just pass her thespistruct pointer and she's good to go
π« SEE ALSO π«
okay so this is the part where the manpage just... lists the entire extended cinematic universe of spi-stm32.c π and honestly we respect the commitment. Here's the kernel file she lives in:
- Kernel file
./drivers/spi/spi-stm32.cπ
and the structs:
struct stm32_spi_reg(9)struct stm32_spi_regspec(9)struct stm32_spi_cfg(9)struct stm32_spi(9)
and the other bpw-mask besties (there's a whole friend group, lowkey):
stm32h7_spi_get_fifo_size(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/read girlies:
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)
the enable/disable + dma crew:
irq vibes:
message + dma config squad:
transfer paths (irq / poll / dma-starty ones):
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)
set_bpw + set_mbr + the mode girlies:
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)
h7 specific lil details:
the transfer-one setup + teardown besties:
stm32_spi_transfer_one_setup(9)stm32_spi_can_poll(9)stm32_spi_transfer_one(9)stm32_spi_unprepare_msg(9)
and finally the config icons:
like, that's the whole group chat π every single one of them tagged, not one left on read π
lowkey a reminder bestie: this page only tells you what's here β the mask function takes yourspipointer and gives you anintback, and everything else is a "go read that one next" situation π§
okay that's the page!! signing off with the source/version and date so nothing gets lost: this one's from ./drivers/spi π and it's dated October 2026 ποΈβ¨ periodt, go read the other fifty-one pages, ily bye ππ¦
π¦ 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