as3645a_set_control(9)
β¨ 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 modeonβ 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
- 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