]> sigrok.org Git - libsigrokdecode.git/log
libsigrokdecode.git
9 years agoBuild: Add copy of libsigrok Autoconf macro file
Daniel Elstner [Mon, 24 Aug 2015 19:07:42 +0000 (21:07 +0200)]
Build: Add copy of libsigrok Autoconf macro file

9 years agonunchuk: Fix inverted button press logic.
Uwe Hermann [Fri, 21 Aug 2015 12:50:04 +0000 (14:50 +0200)]
nunchuk: Fix inverted button press logic.

The buttons are pressed if the respective bit is 0.

9 years agoPass unitsize per sample chunk.
Uwe Hermann [Thu, 20 Aug 2015 17:36:12 +0000 (19:36 +0200)]
Pass unitsize per sample chunk.

Don't pass unitsize to srd_inst_channel_set_all(), have that only
set the channel map. Instead, srd_session_send() now has a parameter
for the unitsize which is passed with every new chunk to be decoded.

This is in preparation to fix issues with devices or files which
have a unitsize != 1 and where the "guessed" unitsize based on the
number of channels is not correct.

This also allows for (potential) future changes where every chunk can
indeed have a different unitsize.

This fixes (parts of) bug #352.

9 years agomrf24j40: Fix a register address typo.
Uwe Hermann [Tue, 18 Aug 2015 06:24:29 +0000 (08:24 +0200)]
mrf24j40: Fix a register address typo.

9 years agotlc5620: Add options for per-DAC Vref, show voltages.
Uwe Hermann [Mon, 17 Aug 2015 20:04:46 +0000 (22:04 +0200)]
tlc5620: Add options for per-DAC Vref, show voltages.

Instead of showing raw values in the annotations, calculate the
actual voltage (based on raw value, gain, and Vref) and use that.

9 years agotlc5620: Handle the case of less than 11 bits in a command.
Uwe Hermann [Mon, 17 Aug 2015 20:05:06 +0000 (22:05 +0200)]
tlc5620: Handle the case of less than 11 bits in a command.

9 years agotlc5620: Properly handle LOAD and LDAC based operations.
Uwe Hermann [Mon, 17 Aug 2015 20:01:37 +0000 (22:01 +0200)]
tlc5620: Properly handle LOAD and LDAC based operations.

- If LOAD goes low *and* LDAC is already low, the voltage is set
  immediately.

- If LOAD goes low but LDAC is high, the value is only written into
  an internal register, but the voltage is not changed (yet).

- If LDAC goes low, all four DAC voltages (DAC A/B/C/D) are set
  according to the respective register values at the same time.

9 years agotlc5620: Only decode the last 11 bits, ignore the rest.
Uwe Hermann [Mon, 17 Aug 2015 19:46:22 +0000 (21:46 +0200)]
tlc5620: Only decode the last 11 bits, ignore the rest.

9 years agotlc5620: Fix incorrect DAC selection decode, add more annotations.
Uwe Hermann [Mon, 17 Aug 2015 19:28:21 +0000 (21:28 +0200)]
tlc5620: Fix incorrect DAC selection decode, add more annotations.

9 years agousb_packet: Handle invalid packets more gracefully.
Uwe Hermann [Fri, 14 Aug 2015 17:01:39 +0000 (19:01 +0200)]
usb_packet: Handle invalid packets more gracefully.

Previously the PD was blindly trying to decode any packet, no matter
whether it was too short (and/or bogus) or not, causing issues like this:

  srd: Calling usb_packet decode(): IndexError: list index out of range

Such cases of invalid input are now handled better by emitting "UNKNOWN"
and "Invalid packet" annotations.

This fixes bug #186.

9 years agousb_packet: Fix incorrect DATA*/MDATA handling.
Uwe Hermann [Fri, 14 Aug 2015 11:48:08 +0000 (13:48 +0200)]
usb_packet: Fix incorrect DATA*/MDATA handling.

Thanks to Pavel Sukortsev for the bug report and fix.

This fixes bug #623.

9 years agoAdd initial SD card (SD mode) decoder.
Uwe Hermann [Thu, 6 Aug 2015 17:27:04 +0000 (19:27 +0200)]
Add initial SD card (SD mode) decoder.

In the current state the decoder can decode the following commands:
CMD0, CMD2, CMD3, CMD6, CMD7, CMD8, CMD9, CMD10, CMD13, CMD16, CMD55,
ACMD6, ACMD13, ACMD41, ACMD51.

Other commands (and more details for existing commands) will be added later.

9 years agoSlightly more verbose logging in srd_inst_decode().
Uwe Hermann [Thu, 23 Jul 2015 15:12:41 +0000 (17:12 +0200)]
Slightly more verbose logging in srd_inst_decode().

9 years agoBump version to 0.4.0 (the upcoming next major release).
Uwe Hermann [Sat, 18 Jul 2015 16:04:08 +0000 (18:04 +0200)]
Bump version to 0.4.0 (the upcoming next major release).

9 years agoAppend "-git" to the version string.
Uwe Hermann [Sat, 18 Jul 2015 15:59:19 +0000 (17:59 +0200)]
Append "-git" to the version string.

This avoids confusion with the released tarballs.

9 years agoAdd protocol decoder for Modbus RTU.
Bart de Waal [Mon, 13 Jul 2015 21:59:55 +0000 (23:59 +0200)]
Add protocol decoder for Modbus RTU.

9 years agoqi: Add Qi charger protocol decoder
Josef Gajdusek [Thu, 9 Jul 2015 10:54:28 +0000 (12:54 +0200)]
qi: Add Qi charger protocol decoder

9 years agoAdd an MDIO/SMI decoder.
Aurelien Jacobs [Sat, 6 Jun 2015 20:05:06 +0000 (22:05 +0200)]
Add an MDIO/SMI decoder.

9 years agoadns5020: Minor tweak to annotation format.
Uwe Hermann [Tue, 30 Jun 2015 23:21:53 +0000 (01:21 +0200)]
adns5020: Minor tweak to annotation format.

9 years agomrf24j40: Factor out register lists to lists.py.
Uwe Hermann [Tue, 30 Jun 2015 22:59:23 +0000 (00:59 +0200)]
mrf24j40: Factor out register lists to lists.py.

9 years agoAdd a Microchip MRF24J40 802.15.4 2.4GHz RF tranceiver decoder.
Karl Palsson [Wed, 27 May 2015 01:25:16 +0000 (01:25 +0000)]
Add a Microchip MRF24J40 802.15.4 2.4GHz RF tranceiver decoder.

No interpretation of register bits, nor attempting to decode packet contents,
but all shifted register addresses and long register memory regions are
decoded.

Signed-off-by: Karl Palsson <redacted>
9 years agoadns5020: Add manufacturer name to description.
Uwe Hermann [Mon, 22 Jun 2015 13:15:17 +0000 (15:15 +0200)]
adns5020: Add manufacturer name to description.

9 years agoAdd Avago ADNS-5020 optical mouse sensor decoder.
Karl Palsson [Sat, 16 May 2015 17:14:50 +0000 (17:14 +0000)]
Add Avago ADNS-5020 optical mouse sensor decoder.

Decodes reads/writes of registers. Understands resetting on chip select if
provided. Does not understand burst mode.

Signed-off-by: Karl Palsson <redacted>
9 years agoam23xx: explicitly mention RHTxx devices.
Karl Palsson [Sat, 30 May 2015 20:28:55 +0000 (20:28 +0000)]
am23xx: explicitly mention RHTxx devices.

Include their compatibility in the dropdown options too.

9 years agotiming: Shorten annotations (time units).
Uwe Hermann [Sun, 26 Apr 2015 15:53:24 +0000 (17:53 +0200)]
timing: Shorten annotations (time units).

9 years agoAdd a decoder that calculates timings between transitions.
Baruch Even [Sat, 4 Apr 2015 19:21:34 +0000 (21:21 +0200)]
Add a decoder that calculates timings between transitions.

9 years agospiflash: Add lists.py and a 'chips' PD option.
Uwe Hermann [Sat, 4 Apr 2015 18:41:24 +0000 (20:41 +0200)]
spiflash: Add lists.py and a 'chips' PD option.

9 years agoRename the 'mx25lxx05d' PD to 'spiflash'.
Uwe Hermann [Sat, 4 Apr 2015 17:41:44 +0000 (19:41 +0200)]
Rename the 'mx25lxx05d' PD to 'spiflash'.

This is in preparation of making the PD more generic so it can support
a lot more xx25 series SPI (NOR) flash chips.

9 years agoFix a bunch of typos.
Uwe Hermann [Sat, 4 Apr 2015 16:34:42 +0000 (18:34 +0200)]
Fix a bunch of typos.

9 years agoautogen.sh: Drop obsolete MinGW/MSYS items.
Uwe Hermann [Tue, 7 Apr 2015 00:36:47 +0000 (02:36 +0200)]
autogen.sh: Drop obsolete MinGW/MSYS items.

For Windows builds (which require MinGW-w64) we currently support:

 - cross-builds using MXE (mxe.cc) and possibly other cross-compile setups

 - native builds using MSYS2 (sf.net/projects/msys2/)

Neither of those require explicitly specifying ACLOCAL_DIR.

9 years agoonewire_link: Fix a bug when the samplerate is too low for the PD.
Uwe Hermann [Fri, 3 Apr 2015 21:21:59 +0000 (23:21 +0200)]
onewire_link: Fix a bug when the samplerate is too low for the PD.

The code was trying to emit annotations before
self.register(srd.OUTPUT_ANN) was run.

This fixes bug #357.

9 years agoMakefile.am: Use libtool's -no-undefined option.
Uwe Hermann [Fri, 3 Apr 2015 20:50:41 +0000 (22:50 +0200)]
Makefile.am: Use libtool's -no-undefined option.

9 years agospi: Don't decode data lines if CS isn't asserted
Andreas Sandberg [Fri, 13 Feb 2015 21:42:01 +0000 (21:42 +0000)]
spi: Don't decode data lines if CS isn't asserted

Avoid decoding and outputting data from the SPI bus if the CS pin
hasn't been asserted. This avoids confusing both users and stacked
decoders which otherwise end up seeing traffic intended for other
chips (or just noise).

Note: The old behavior of decoding all traffic is still in place if
no CS pin has been wired up to the decoder.

This fixes bug #559.

9 years agoSlightly shorten a few PD descriptions.
Uwe Hermann [Thu, 2 Apr 2015 20:48:03 +0000 (22:48 +0200)]
Slightly shorten a few PD descriptions.

9 years agoAdd a decoder for stepper motor direction/speed signals.
Petteri Aimonen [Sat, 7 Mar 2015 14:14:19 +0000 (16:14 +0200)]
Add a decoder for stepper motor direction/speed signals.

9 years agoFix a few decoding bugs with arm_etmv3.
Petteri Aimonen [Sat, 7 Mar 2015 13:55:18 +0000 (15:55 +0200)]
Fix a few decoding bugs with arm_etmv3.

Fixed:
- wrong address decoding for some branches
- error in annotation lists for exception entry/exit
- exception was being thrown for 0E0N p-header packets
- fixes to objdump output parsing, better function name & source code matching

New features:
- added decoding of IRQ names for branch exception info
- added support for -C option to objdump to decode C++ symbol names
- put branches on the "Exceptions" annotation row when they contain exception info.

9 years agopwm: add period annotation
Matt Porter [Tue, 31 Mar 2015 03:59:38 +0000 (23:59 -0400)]
pwm: add period annotation

9 years agoUse g_malloc*() consistently, simplify error handling.
Uwe Hermann [Sat, 7 Mar 2015 18:12:15 +0000 (19:12 +0100)]
Use g_malloc*() consistently, simplify error handling.

Use g_malloc*() for small allocations and assume they always
succeed. Simplify error handling in a few places accordingly.

Document the rules in the README file.

9 years agounit tests: Drop unneeded check_ filename prefix.
Uwe Hermann [Sat, 28 Feb 2015 13:18:56 +0000 (14:18 +0100)]
unit tests: Drop unneeded check_ filename prefix.

9 years agomx25lxx05d: Implement FAST READ command.
Uwe Hermann [Wed, 25 Mar 2015 08:41:23 +0000 (09:41 +0100)]
mx25lxx05d: Implement FAST READ command.

9 years agoFix typo in swd decoder
Petteri Aimonen [Mon, 23 Feb 2015 17:47:56 +0000 (19:47 +0200)]
Fix typo in swd decoder

9 years agoAdd ARM TPIU/ITM/ETMv3 decoders
Petteri Aimonen [Mon, 23 Feb 2015 17:49:06 +0000 (19:49 +0200)]
Add ARM TPIU/ITM/ETMv3 decoders

9 years agonrf24l01: Change 'xn297_extensions' option to 'chip'.
Uwe Hermann [Tue, 24 Feb 2015 20:46:04 +0000 (21:46 +0100)]
nrf24l01: Change 'xn297_extensions' option to 'chip'.

This allows for easily extending the PD to support other clones or
compatibles of the nRF24L01(+) chip as well.

9 years agonrf24l01: Add option to support the XN297's extra registers
Mike [Fri, 6 Feb 2015 16:42:32 +0000 (16:42 +0000)]
nrf24l01: Add option to support the XN297's extra registers

9 years agoImprove uart decoder sample positions at high data rates.
Petteri Aimonen [Sun, 15 Feb 2015 17:08:36 +0000 (19:08 +0200)]
Improve uart decoder sample positions at high data rates.

At 3 samples per bit, the uart decoder took the value at the last sample
instead of the middle one. Improve calculations so that sampling is more
accurate at odd number of samples per bit.

9 years agounit tests: Disable timeout for one of the test cases.
Uwe Hermann [Sat, 31 Jan 2015 22:39:02 +0000 (23:39 +0100)]
unit tests: Disable timeout for one of the test cases.

This one can take a while, thus disable the timeout.

9 years agoREADME: Update build requirements list.
Uwe Hermann [Sat, 24 Jan 2015 19:46:18 +0000 (20:46 +0100)]
README: Update build requirements list.

9 years agoAdd 24xx I2C EEPROM protocol decoder.
Uwe Hermann [Wed, 19 Nov 2014 17:57:56 +0000 (18:57 +0100)]
Add 24xx I2C EEPROM protocol decoder.

9 years agospi: Add binary output facilities for MISO/MOSI.
Uwe Hermann [Sun, 28 Dec 2014 13:33:50 +0000 (14:33 +0100)]
spi: Add binary output facilities for MISO/MOSI.

This fixes bug #424.

9 years agoedid: Add annotation rows.
Bert Vermeulen [Tue, 16 Dec 2014 13:51:47 +0000 (14:51 +0100)]
edid: Add annotation rows.

9 years agoeded: Add all sections.
Bert Vermeulen [Tue, 16 Dec 2014 13:51:19 +0000 (14:51 +0100)]
eded: Add all sections.

10 years agojitter: Simplify ascii-float binary out.
Uwe Hermann [Sun, 23 Nov 2014 22:06:45 +0000 (23:06 +0100)]
jitter: Simplify ascii-float binary out.

This also outputs one item of OUT_BINARY per jitter value (not one
item per ASCII character in the ASCII floating point number).

10 years agojitter: Rename "jitter" binary out to "ascii-float".
Uwe Hermann [Sun, 23 Nov 2014 21:55:54 +0000 (22:55 +0100)]
jitter: Rename "jitter" binary out to "ascii-float".

10 years agojitter: add a binary output to report the raw jitter value.
Sebastien Bourdelin [Thu, 13 Nov 2014 20:50:43 +0000 (15:50 -0500)]
jitter: add a binary output to report the raw jitter value.

Signed-off-by: Sebastien Bourdelin <redacted>
10 years agojitter: fixes an error when a miss clock/signal is detected
Sebastien Bourdelin [Wed, 12 Nov 2014 17:42:03 +0000 (12:42 -0500)]
jitter: fixes an error when a miss clock/signal is detected

Signed-off-by: Sebastien Bourdelin <redacted>
10 years agojitter: Factor out handle_clk() and handle_sig().
Uwe Hermann [Sun, 9 Nov 2014 19:29:31 +0000 (20:29 +0100)]
jitter: Factor out handle_clk() and handle_sig().

10 years agoAdd a timing jitter decoder.
Sebastien Bourdelin [Thu, 23 Oct 2014 17:08:29 +0000 (13:08 -0400)]
Add a timing jitter decoder.

Signed-off-by: Sebastien Bourdelin <redacted>
10 years agopwm: Fix and rework
Sebastien Bourdelin [Thu, 30 Oct 2014 03:31:43 +0000 (23:31 -0400)]
pwm: Fix and rework

Reworked in the algorithm:
 - Fixed the polarity setting
 - Taken in consideration the first transition
 - Using the 'None' state instead of -1 and 0 value
 - Simplify the algorithm and remove useless branches and variables
 - Avoid re-calculating the same thing more than once
 - Renamed a few variables for a better understanding
 - Duty cycle precision changed to floating value

Otherwise:
 - Added a meta OUTPUT for the duty cycle average
 - Renamed the polarity option:
'polarity', 'active low/high' are well-understood terms.
 - Added comments

Signed-off-by: Sebastien Bourdelin <redacted>
10 years agospi: Use 'None' to signal the missing CS# pin.
Jens Steinhauser [Sun, 19 Oct 2014 20:54:51 +0000 (22:54 +0200)]
spi: Use 'None' to signal the missing CS# pin.

10 years agonrf24l01: Don't decode incomplete commands.
Jens Steinhauser [Sun, 19 Oct 2014 19:29:07 +0000 (21:29 +0200)]
nrf24l01: Don't decode incomplete commands.

Wait for the CS# line to be inactive before decoding the commands.

10 years agonrf24l01: Check for CS# pin and only throw exceptions once.
Jens Steinhauser [Sun, 19 Oct 2014 18:39:38 +0000 (20:39 +0200)]
nrf24l01: Check for CS# pin and only throw exceptions once.

10 years agospi: Tell stacked decoders about missing CS# signal.
Jens Steinhauser [Sat, 18 Oct 2014 09:31:16 +0000 (11:31 +0200)]
spi: Tell stacked decoders about missing CS# signal.

This could previously be detected by the absence of a CS-CHANGE packet
before the first data packet, but it makes the stacked decoder simpler
if it is told directly.

10 years agoAdd a PWM decoder.
Uwe Hermann [Thu, 16 Oct 2014 19:23:19 +0000 (21:23 +0200)]
Add a PWM decoder.

10 years agouart: Fix code comment.
Uwe Hermann [Thu, 16 Oct 2014 15:58:28 +0000 (17:58 +0200)]
uart: Fix code comment.

10 years agouart: Emit databyte and bits list at the same time.
Uwe Hermann [Thu, 16 Oct 2014 07:35:27 +0000 (09:35 +0200)]
uart: Emit databyte and bits list at the same time.

This will allow for much simpler code in stacked PDs.

Adapt stacked PDs to new API.

10 years agoinstance.c: Fix whitespace.
Uwe Hermann [Wed, 15 Oct 2014 13:23:22 +0000 (15:23 +0200)]
instance.c: Fix whitespace.

10 years agomidi: Fix two incorrect sample numbers.
Uwe Hermann [Wed, 15 Oct 2014 13:22:48 +0000 (15:22 +0200)]
midi: Fix two incorrect sample numbers.

10 years agoAll PDs: More consistent names for ss/es variables.
Uwe Hermann [Mon, 13 Oct 2014 15:05:07 +0000 (17:05 +0200)]
All PDs: More consistent names for ss/es variables.

Use self.ss/self.es, or if there's a need to differentiate
them a bit more, use self.ss_<suffix>/self.es_<suffix> consistently.

Also, drop some unused variables.

10 years agoAll PDs: Only import the 'Decoder' object.
Uwe Hermann [Wed, 1 Oct 2014 17:01:39 +0000 (19:01 +0200)]
All PDs: Only import the 'Decoder' object.

Anything else in the pd.py files doesn't have to be imported/exposed.

10 years agoam230x: Factor out handle_byte() to simplify state machine.
Uwe Hermann [Sun, 12 Oct 2014 18:21:33 +0000 (20:21 +0200)]
am230x: Factor out handle_byte() to simplify state machine.

10 years agoswd: Drop unnecessary debug code.
Uwe Hermann [Sun, 12 Oct 2014 17:02:00 +0000 (19:02 +0200)]
swd: Drop unnecessary debug code.

10 years agoswd: Add SWD protocol decoder for ARM Serial Wire Debug format.
Angus Gratton [Sat, 12 Jul 2014 09:34:19 +0000 (19:34 +1000)]
swd: Add SWD protocol decoder for ARM Serial Wire Debug format.

Supports annotated output for analysing debug sessions, Python output
for potential stacked decoders looking at higher level debug
operations.

10 years agoam230x: Minor documentation fix.
Uwe Hermann [Sun, 12 Oct 2014 15:31:40 +0000 (17:31 +0200)]
am230x: Minor documentation fix.

10 years agoam230x: Use slightly more liberal timing values.
Uwe Hermann [Sun, 12 Oct 2014 13:13:50 +0000 (15:13 +0200)]
am230x: Use slightly more liberal timing values.

This seems to be required at least for some AM2301 and DHT11 sensors.

10 years agoam230x: Change option to 'device' to allow for more devices.
Uwe Hermann [Sun, 12 Oct 2014 12:58:25 +0000 (14:58 +0200)]
am230x: Change option to 'device' to allow for more devices.

10 years agoam230x: Fix self.reset() method name.
Uwe Hermann [Sun, 12 Oct 2014 12:57:56 +0000 (14:57 +0200)]
am230x: Fix self.reset() method name.

10 years agoam230x: Minor cosmetics.
Uwe Hermann [Sun, 12 Oct 2014 12:31:21 +0000 (14:31 +0200)]
am230x: Minor cosmetics.

10 years agoAdd decoder for AM230x digital humidity and temperature sensors.
Johannes Römer [Mon, 6 Oct 2014 21:30:22 +0000 (23:30 +0200)]
Add decoder for AM230x digital humidity and temperature sensors.

10 years agoReplace ann_format with ann_class.
Uwe Hermann [Thu, 28 Aug 2014 20:48:39 +0000 (22:48 +0200)]
Replace ann_format with ann_class.

The naming has been changed to "annotation class" a while ago.

10 years agosdcard_spi/usb_packet: Drop unused variables.
Uwe Hermann [Thu, 28 Aug 2014 19:38:39 +0000 (21:38 +0200)]
sdcard_spi/usb_packet: Drop unused variables.

10 years agouart: Implement signal inversion
David Barksdale [Mon, 15 Sep 2014 16:50:09 +0000 (11:50 -0500)]
uart: Implement signal inversion

10 years agoFix out-of-tree build of the unit tests.
Uwe Hermann [Wed, 10 Sep 2014 22:45:08 +0000 (00:45 +0200)]
Fix out-of-tree build of the unit tests.

10 years agoVarious PDs: Whitespace, cosmetics.
Uwe Hermann [Wed, 10 Sep 2014 07:26:11 +0000 (09:26 +0200)]
Various PDs: Whitespace, cosmetics.

10 years agorfm12: Cosmetics.
Uwe Hermann [Mon, 8 Sep 2014 19:44:03 +0000 (21:44 +0200)]
rfm12: Cosmetics.

Also, update author email address.

10 years agorfm12: Frequencies: Fix typo (915MHz), add 315MHz entry.
Uwe Hermann [Mon, 8 Sep 2014 09:55:07 +0000 (11:55 +0200)]
rfm12: Frequencies: Fix typo (915MHz), add 315MHz entry.

10 years agorfm12: Avoid using the Python 'range' keyword as variable.
Uwe Hermann [Mon, 8 Sep 2014 09:54:25 +0000 (11:54 +0200)]
rfm12: Avoid using the Python 'range' keyword as variable.

10 years agorfm12: Drop debug printing.
Uwe Hermann [Mon, 8 Sep 2014 09:48:05 +0000 (11:48 +0200)]
rfm12: Drop debug printing.

Any errors during decoding should be handled by the PD state machine.

10 years agoRFM12 decoder
Sławek Piotrowski [Wed, 3 Sep 2014 22:32:14 +0000 (00:32 +0200)]
RFM12 decoder

10 years agoPD tests moved into the sigrok-test repo.
Uwe Hermann [Mon, 1 Sep 2014 15:38:09 +0000 (17:38 +0200)]
PD tests moved into the sigrok-test repo.

Drop them from the libsigrokdecode repository.

10 years agospdif: Simplify get_pulse_type() a bit.
Uwe Hermann [Fri, 29 Aug 2014 22:55:56 +0000 (00:55 +0200)]
spdif: Simplify get_pulse_type() a bit.

10 years agospdif: Use strings for decoder states.
Uwe Hermann [Fri, 29 Aug 2014 22:16:33 +0000 (00:16 +0200)]
spdif: Use strings for decoder states.

10 years agospdif: Add another annotation helper.
Uwe Hermann [Fri, 29 Aug 2014 22:09:50 +0000 (00:09 +0200)]
spdif: Add another annotation helper.

10 years agospdif: Refactor and reduce nesting level.
Uwe Hermann [Fri, 29 Aug 2014 21:50:56 +0000 (23:50 +0200)]
spdif: Refactor and reduce nesting level.

10 years agoAdd initial S/PDIF decoder.
Guenther Wenninger [Sat, 19 Apr 2014 00:20:42 +0000 (02:20 +0200)]
Add initial S/PDIF decoder.

10 years agods1307: Warn about (and ignore) non-DS1307 traffic.
Uwe Hermann [Sat, 16 Aug 2014 19:35:26 +0000 (21:35 +0200)]
ds1307: Warn about (and ignore) non-DS1307 traffic.

10 years agods1307: Correctly handle address wrap-around.
Uwe Hermann [Sat, 16 Aug 2014 19:19:05 +0000 (21:19 +0200)]
ds1307: Correctly handle address wrap-around.

10 years agods1307: Refactoring and cleanups.
Uwe Hermann [Sat, 16 Aug 2014 19:17:32 +0000 (21:17 +0200)]
ds1307: Refactoring and cleanups.

10 years agods1307: Handle SRAM register accesses.
Uwe Hermann [Sat, 16 Aug 2014 19:03:00 +0000 (21:03 +0200)]
ds1307: Handle SRAM register accesses.

10 years agods1307: Handle register 0x07 (control register).
Uwe Hermann [Sat, 16 Aug 2014 18:45:56 +0000 (20:45 +0200)]
ds1307: Handle register 0x07 (control register).

10 years agods1307: Emit per-bit annotations for registers.
Uwe Hermann [Sat, 16 Aug 2014 18:36:09 +0000 (20:36 +0200)]
ds1307: Emit per-bit annotations for registers.

Also, add more annotation classes (and annotation rows).