[riot-commits] [RIOT-OS/RIOT] f36d54: sam0/timer: various fixes

Dylan Laduranty noreply at github.com
Thu Jun 6 16:04:36 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: f36d54f239497349c4dae89255815010f7f06afb
      https://github.com/RIOT-OS/RIOT/commit/f36d54f239497349c4dae89255815010f7f06afb
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2019-06-06 (Thu, 06 Jun 2019)

  Changed paths:
    M cpu/sam0_common/periph/timer.c

  Log Message:
  -----------
  sam0/timer: various fixes

This cleans up the sam0 timer driver:

 - remove the check for the unused freq parameter
 - the MCU provides dedicated SET/CLR registers to avoid
   read-modify-write, so don't do read-modify-write on them.
 - workaround a possible hardware bug on SAMD5x:
   loop until the CMD_READSYNC is really set


  Commit: a37c0ccf70ca4297b9d3bd0a62694420f27012b6
      https://github.com/RIOT-OS/RIOT/commit/a37c0ccf70ca4297b9d3bd0a62694420f27012b6
  Author: Dylan Laduranty <dylan.laduranty at mesotic.com>
  Date:   2019-06-06 (Thu, 06 Jun 2019)

  Changed paths:
    M cpu/sam0_common/periph/timer.c

  Log Message:
  -----------
  Merge pull request #11610 from benpicco/sam0-timer_fix

sam0/timer: various fixes


Compare: https://github.com/RIOT-OS/RIOT/compare/002e033f5e9b...a37c0ccf70ca


More information about the commits mailing list