]> sigrok.org Git - libsigrokdecode.git/commit
sle44xx: optionally use samplerate to show processing durations
authorGerhard Sittig <redacted>
Tue, 28 Jul 2020 15:37:11 +0000 (17:37 +0200)
committerGerhard Sittig <redacted>
Sun, 30 Aug 2020 05:23:58 +0000 (07:23 +0200)
commit6bddf39e7a2758cdd5b0e6e3ef1304346a22c565
treea894a497c1b48e6391d003ba12be319f358e396f
parent7f2fb1b35d016a5b789891c1fa3c7408ac3ed18e
sle44xx: optionally use samplerate to show processing durations

The protocol is clocked, so strictly does not depend on the samplerate.
When the samplerate is available, the duration of internal processing
(memory erase and write) can get annotated. It's an optional feature.

The datasheet suggests that write and erase time are in the range of a
few milliseconds. Normalize to ms units and provide 10us resolution.
decoders/sle44xx/pd.py