Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-02 | pwm: Fix and rework | Sebastien Bourdelin | |
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 <sebastien.bourdelin@savoirfairelinux.com> | |||
2014-10-19 | spi: Use 'None' to signal the missing CS# pin. | Jens Steinhauser | |
2014-10-19 | nrf24l01: Don't decode incomplete commands. | Jens Steinhauser | |
Wait for the CS# line to be inactive before decoding the commands. | |||
2014-10-19 | nrf24l01: Check for CS# pin and only throw exceptions once. | Jens Steinhauser | |
2014-10-19 | spi: Tell stacked decoders about missing CS# signal. | Jens Steinhauser | |
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. | |||
2014-10-17 | Add a PWM decoder. | Uwe Hermann | |
2014-10-16 | uart: Fix code comment. | Uwe Hermann | |
2014-10-16 | uart: Emit databyte and bits list at the same time. | Uwe Hermann | |
This will allow for much simpler code in stacked PDs. Adapt stacked PDs to new API. | |||
2014-10-15 | midi: Fix two incorrect sample numbers. | Uwe Hermann | |
2014-10-13 | All PDs: More consistent names for ss/es variables. | Uwe Hermann | |
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. | |||
2014-10-13 | All PDs: Only import the 'Decoder' object. | Uwe Hermann | |
Anything else in the pd.py files doesn't have to be imported/exposed. | |||
2014-10-12 | am230x: Factor out handle_byte() to simplify state machine. | Uwe Hermann | |
2014-10-12 | swd: Drop unnecessary debug code. | Uwe Hermann | |
2014-10-12 | swd: Add SWD protocol decoder for ARM Serial Wire Debug format. | Angus Gratton | |
Supports annotated output for analysing debug sessions, Python output for potential stacked decoders looking at higher level debug operations. | |||
2014-10-12 | am230x: Minor documentation fix. | Uwe Hermann | |
2014-10-12 | am230x: Use slightly more liberal timing values. | Uwe Hermann | |
This seems to be required at least for some AM2301 and DHT11 sensors. | |||
2014-10-12 | am230x: Change option to 'device' to allow for more devices. | Uwe Hermann | |
2014-10-12 | am230x: Fix self.reset() method name. | Uwe Hermann | |
2014-10-12 | am230x: Minor cosmetics. | Uwe Hermann | |
2014-10-12 | Add decoder for AM230x digital humidity and temperature sensors. | Johannes Römer | |
2014-09-15 | sdcard_spi/usb_packet: Drop unused variables. | Uwe Hermann | |
2014-09-15 | uart: Implement signal inversion | David Barksdale | |
2014-09-10 | Various PDs: Whitespace, cosmetics. | Uwe Hermann | |
2014-09-10 | rfm12: Cosmetics. | Uwe Hermann | |
Also, update author email address. | |||
2014-09-08 | rfm12: Frequencies: Fix typo (915MHz), add 315MHz entry. | Uwe Hermann | |
2014-09-08 | rfm12: Avoid using the Python 'range' keyword as variable. | Uwe Hermann | |
2014-09-08 | rfm12: Drop debug printing. | Uwe Hermann | |
Any errors during decoding should be handled by the PD state machine. | |||
2014-09-08 | RFM12 decoder | Sławek Piotrowski | |
2014-09-01 | PD tests moved into the sigrok-test repo. | Uwe Hermann | |
Drop them from the libsigrokdecode repository. | |||
2014-08-30 | spdif: Simplify get_pulse_type() a bit. | Uwe Hermann | |
2014-08-30 | spdif: Use strings for decoder states. | Uwe Hermann | |
2014-08-30 | spdif: Add another annotation helper. | Uwe Hermann | |
2014-08-30 | spdif: Refactor and reduce nesting level. | Uwe Hermann | |
2014-08-30 | Add initial S/PDIF decoder. | Guenther Wenninger | |
2014-08-16 | ds1307: Warn about (and ignore) non-DS1307 traffic. | Uwe Hermann | |
2014-08-16 | ds1307: Correctly handle address wrap-around. | Uwe Hermann | |
2014-08-16 | ds1307: Refactoring and cleanups. | Uwe Hermann | |
2014-08-16 | ds1307: Handle SRAM register accesses. | Uwe Hermann | |
2014-08-16 | ds1307: Handle register 0x07 (control register). | Uwe Hermann | |
2014-08-16 | ds1307: Emit per-bit annotations for registers. | Uwe Hermann | |
Also, add more annotation classes (and annotation rows). | |||
2014-08-16 | tca6408a: Cosmetics. | Uwe Hermann | |
2014-08-14 | Add decoder for TCA6408A I2C I/O expanders. | alberink | |
2014-08-14 | pdtests: Check for SamplerateError in all PDs that emit it. | Uwe Hermann | |
2014-08-14 | parallel: Enforce that at least one pin must be provided. | Uwe Hermann | |
2014-08-14 | spi/nrf24l01/uart: Use ChannelError exception. | Uwe Hermann | |
Rename the old MissingDataError to the clearer ChannelError. Also, add ChannelError in the UART decoder. | |||
2014-08-03 | nrf24l01: prettify annotation output | Jens Steinhauser | |
2014-07-15 | All PDs: Minor whitespace and consistency fixes. | Uwe Hermann | |
- No newlines at the end of files. - No trailing ';' characters. - Comparison with None: Use 'is None' or 'is not None'. - Comparison with True/False: Use 'if cond:' or 'if not cond:'. - Various minor whitespace fixes. | |||
2014-07-09 | uart/i2cfilter: Don't check multiple-choice options. | Uwe Hermann | |
For options which only have a limited set of valid values, we don't need to check (in the PD) whether a valid value was supplied, since the backend can do that for us. | |||
2014-07-09 | Various PDs: Minor consistency fixes. | Uwe Hermann | |
(Consistently use single-quotes for all Python strings everywhere) | |||
2014-07-09 | Various PDs: Throw SamplerateError instead of Exception. | Uwe Hermann | |
Also, use the "if not self.samplerate" form, which catches both the case where self.samplerate is None, as well as the case where it is 0. |