ni_tio_write(9)
π NAME π
okay so bestie, this is ni_tio_write(9) from the Kernel API Manual β the function that writes a TIO register using the driver-provided callback. That's the whole vibe: TIO register, write it, callback supplied by the driver. Periodt. π
β¨ SYNOPSIS β¨
here's the signature, bestie β copy it exactly, no freestyling:
void ni_tio_write (struct ni_gpct *counter , unsigned int value , enum ni_gpct_register reg );
it's void, so no return value energy. π«Ά
π ARGUMENTS π
counterβ astruct ni_gpctcounter. That's the counter struct you're handing over. πvalueβ the value to write. That's it, that's the tea. β¨regβ the register to write. The one getting the write. π―
π¦ SEE ALSO π¦
- Kernel file:
./drivers/comedi/drivers/ni_tio.cβ yes, that's the path, iykyk. π ni_tio_read(9)ni_tio_set_bits(9)ni_tio_get_soft_copy(9)ni_tio_set_routing(9)
mwah π that's the whole page! footer tea: source/version ./drivers/comedi/drivers, date October 2026, and it's all for ni_tio_write(9). π«Ά
π¦ 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