ds2482_send_cmd(9)
π ds2482_send_cmd β the manual page, but make it make sense
okay so bestie, welcome to ds2482_send_cmd(9), from the Kernel API Manual β¨ this one's short and sweet and honestly kind of iconic in a low-key way π
πΈ NAME πΈ
ds2482_send_cmd β sends a command without a parameter π
like. it just yeets the command. no extra data. no strings attached. periodt.
β¨ SYNOPSIS β¨
int ds2482_send_cmd (struct ds2482_data *pdev , u8 cmd );
that's it. that's the whole vibe check π¦
π ARGUMENTS π
pdevβ the ds2482 client pointer π« literally the lil handle to your ds2482 device, it's giving "this is who I'm talking to"cmdβ the command you're sending, and it's gotta be one of these three, no cap:DS2482_CMD_RESETDS2482_CMD_1WIRE_RESETDS2482_CMD_1WIRE_READ_BYTE
β οΈ heads up bestie, those are the values listed for cmd β don't get creative and start inventing your own, that's not the move π
π₯ RETURN π₯
-1on failure π it did NOT slay0on success π ate and left no crumbs
π¦ SEE ALSO π¦
the whole friend group fr fr π β kernel file ./drivers/w1/masters/ds2482.c and its besties:
ds2482_calculate_config(9)ds2482_select_register(9)ds2482_send_cmd_data(9)ds2482_wait_1wire_idle(9)ds2482_set_channel(9)ds2482_w1_touch_bit(9)ds2482_w1_triplet(9)ds2482_w1_write_byte(9)ds2482_w1_read_byte(9)ds2482_w1_reset_bus(9)
go read those next, iykyk π§ββοΈ
sign-off era π«Άβ¨ this little beauty lives under ./drivers/w1/masters, and the manual's own timestamp says October 2026 β so yeah, it's got that fresh-out-the-group-chat energy, and the page itself still calls itself ds2482_send_cmd(9) at the top and bottom, because consistency is main character energy π
πΈ
π¦ 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