]> sigrok.org Git - libsigrok.git/commit
kingst-la2016: add PWM channel groups, announce as signal generator
authorGerhard Sittig <redacted>
Sat, 5 Feb 2022 13:54:25 +0000 (14:54 +0100)
committerGerhard Sittig <redacted>
Sun, 6 Feb 2022 17:53:53 +0000 (18:53 +0100)
commit331277e05e45e8fe3fde95316c4b572161e68416
treee51baaaa9f79e11d6b2f234e65b9fe7bed09deaa
parentedb13f41631dbb41714bfca9d9ed286eecea78a8
kingst-la2016: add PWM channel groups, announce as signal generator

Create the "Logic" and the "PWMx" channel goups, implement support to
get and set frequency, duty cycle, and enabled state. Announce the
device as a signal generator, too.

Handling of "Logic" config keys is prepared but empty in this commit.
src/hardware/kingst-la2016/api.c
src/hardware/kingst-la2016/protocol.h