as3645a_set_control(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ as3645a_set_control(9) β€” Set flash control register ✨

okay bestie, welcome to the as3645a_set_control(9) page in the Kernel API Manual β€” this one is short, sweet, and very β€œset the flash control register” of it all πŸ’…


🌸 NAME 🌸

as3645a_set_control β€” Set flash control register

πŸ¦‹ SYNOPSIS πŸ¦‹

int as3645a_set_control (struct as3645a *flash , enum as_mode mode ,
bool on );

πŸŽ€ ARGUMENTS πŸŽ€

  • flash β€” The flash ✨
  • mode β€” Desired output mode
  • on β€” Desired output state

πŸ’– DESCRIPTION πŸ’–

Configure the hardware with output mode and state. That’s the whole vibe: you hand it the output mode and the output state, and it configures the hardware accordingly 🫢

Return 0 on success, or a negative error code if an I2C communication error occurred. Important: that negative error code means an I2C communication error happened β€” no cap, keep an eye out for it 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/leds/flash/leds-as3645a.c and as3645a_set_current(9) 🌈


byeee bestie, this page is signed off from ./drivers/leds/flash, dated October 2026, and it’s the as3645a_set_control(9) page β€” mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from