X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkingst-la2016%2Fprotocol.c;fp=src%2Fhardware%2Fkingst-la2016%2Fprotocol.c;h=2b1da8582f84a3a1e78ec3d1eaaedc87c3532168;hb=c8aa9206e91ce983c7d12108f17f462663b337fa;hp=e59bae0aab48fbc15386f546fee3839d21a3ce53;hpb=7a38cdf76678a64f6bfc9178e623f9f9cecfcd4b;p=libsigrok.git diff --git a/src/hardware/kingst-la2016/protocol.c b/src/hardware/kingst-la2016/protocol.c index e59bae0a..2b1da858 100644 --- a/src/hardware/kingst-la2016/protocol.c +++ b/src/hardware/kingst-la2016/protocol.c @@ -79,6 +79,7 @@ static const struct kingst_model models[] = { #define REG_RUN 0x00 /* Read capture status, write start capture. */ #define REG_PWM_EN 0x02 /* User PWM channels on/off. */ #define REG_CAPT_MODE 0x03 /* Write 0x00 capture to SDRAM, 0x01 streaming. */ +#define REG_PIN_STATE 0x04 /* Read current pin state (real time display). */ #define REG_BULK 0x08 /* Write start addr, byte count to download samples. */ #define REG_SAMPLING 0x10 /* Write capture config, read capture SDRAM location. */ #define REG_TRIGGER 0x20 /* Write level and edge trigger config. */