STRUCT SPI_DELAY(9)
β¨ struct spi_delay(9) β¨
okay so this is a page from the Kernel API Manual (yes, the kernel has lore too π
) and it's all about struct spi_delay β literally just the little struct that carries SPI delay information. that's it. that's the whole vibe. tiny struct, big main character energy. π
πΈ NAME πΈ
struct spi_delay β SPI delay information. no cap, that's the entire name section. short and iconic.
π¦ SYNOPSIS π¦
bestie, here's the whole thing, verbatim, don't touch it:
struct spi_delay {
#define SPI_DELAY_UNIT_USECS 0;
#define SPI_DELAY_UNIT_NSECS 1;
#define SPI_DELAY_UNIT_SCK 2;
u16 value;
u8 unit;
};
like look at her. the #defines are sitting inside the struct, the semicolons after the numbers are just... there, and the closing }; has one (1) extra space before it. we don't ask questions, we just copy it exactly. π«Ά
π Members π
valueβ the value for the delay. the actual number. the moment. βunitβ the unit for the delay. like, whatvalueis even measured in. the context. the iykyk. π₯
π SEE ALSO π
the kernel file ./include/linux/spi/spi.h (that's where she lives π ) plus this whole extended friend group:
struct spi_statistics(9)struct spi_device(9)struct spi_driver(9)spi_unregister_driver(9)module_spi_driver(9)struct spi_controller(9)struct spi_res(9)struct spi_transfer(9)struct spi_message(9)spi_message_init_with_transfers(9)spi_is_bpw_supported(9)spi_bpw_to_bytes(9)spi_controller_xfer_timeout(9)struct spi_replaced_transfers(9)spi_sync_transfer(9)spi_write(9)spi_read(9)spi_w8r8(9)spi_w8r16(9)spi_w8r16be(9)struct spi_board_info(9)
that's twenty-one whole cross-references, we love a well-connected queen π
ok that's the whole page, go read the friends too, they're all in ./include/linux/spi π
and that's a wrap!! π this one came out of ./include/linux/spi, dated October 2026, and it's the struct spi_delay(9) page β slay, go forth and delay ur SPI stuff correctly β¨π
π¦
π¦ 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