STRUCT IR_RAW_TIMINGS_MANCHESTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct ir_raw_timings_manchester β€” Manchester coding timings, bestie ✨

(oh and real quick, this whole thing lives in the Kernel API Manual, so like… kernel vibes only 🫢)


✨ SYNOPSIS ✨

okay so here's the whole struct, literally exactly how it's written, no cap:

struct ir_raw_timings_manchester {
    unsigned int leader_pulse;
    unsigned int leader_space;
    unsigned int clock;
    unsigned int invert:1;
    unsigned int trailer_space;
};

she's cute, she's compact, she's giving "five fields and a dream" πŸ’…


πŸŽ€ Members πŸŽ€

  • leader_pulse β€” how long the leader pulse lasts (if there even is one, like, no pressure). set it to 0 if you're just continuing an existing signal β€” yes girl, 0 means "we're already mid-conversation, don't restart" 😌
  • leader_space β€” how long the leader space lasts (if any, again, optional queen 🌸)
  • clock β€” the duration of each pulse and each space, measured in ns. this is the heartbeat of the whole operation fr fr ⏱️
  • invert β€” this one's a 1-bit icon. if it's set, the clock logic is inverted: 0 = space + pulse, 1 = pulse + space. flip it and the whole vibe flips with it πŸ”„
  • trailer_space β€” how long the trailer space lasts, in ns 🎬
ngl, the invert:1 bitfield is doing main character energy in a struct full of unsigned ints and honestly? we love that for her πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

go bother these besties next, they're all in the kernel file ./drivers/media/rc/rc-core-priv.h:


and that's the whole page, periodt πŸ’œ this was living in ./drivers/media/rc, from the October 2026 era, titled struct ir_ra...s_manchester(9) β€” mwah, stan, bye πŸ§šβ€β™€οΈπŸŽ€

πŸ“¦ where this page comes from