Skip to content

Releases

0.2.3

Choose a tag to compare

@github-actions github-actions released this 15 Nov 18:41
508529c

cst820

Changed

  • Dropped #![deny(warnings)], so a warning added by a newer compiler can no longer
    fail the docs.rs build.

cst820-registers

Changed

  • Dropped #![deny(warnings)], so a warning added by a newer compiler can no longer
    fail the docs.rs build.

0.2.2

Choose a tag to compare

@github-actions github-actions released this 15 Nov 16:07
60f62b0

cst820

No changes; released alongside cst820-registers 0.2.2, which shares the version.

cst820-registers

Changed

  • With the defmt feature, registers print their fields (e.g.
    IrqCtl { en_test: false, en_touch: true, … }) instead of the raw byte.

0.2.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:58
a2fd692

cst820

Fixed

  • Touch::pressed no longer reports a touch for invalid data (e.g. every register
    reading 0xFF) or for lift events; it requires one or two fingers and a down or
    contact event.

Changed

  • The blocking and async drivers are generated from one definition. The public API is
    unchanged.

cst820-registers

No changes; released alongside cst820 0.2.1, which shares the version.

0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:43
09fba46

cst820

Changed

  • [breaking] read_register requires ReadableRegister, and modify_register
    requires a register that is both readable and writable (cst820-registers 0.2,
    hardware-registers 0.4).

cst820-registers

Changed

  • [breaking] Updated hardware-registers to 0.4. Register is now the base trait;
    reading requires ReadableRegister and writing requires WritableRegister.
  • [breaking] SleepMode (0xE5) is write-only: it is a command register and can no
    longer be read through the typed API.

0.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 14:27
1915114

cst820

Added

  • Blocking driver on embedded-hal 1.0 and async driver on embedded-hal-async 1.0
    (async feature): touch readout, chip identification, project and firmware
    version, gesture, interrupt and auto-sleep
    configuration, deep sleep, and hardware reset.

cst820-registers

Added

  • Initial register map, following the CST816S register declaration.