Skip to content
Commit 01c03a27 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

counter: mchp_xec: update driver for counter tests



The counter driver tests have been updated so the driver needs
to be updated too.

() Test expects a free running counter.
() Test expects any alarms cannot be set beyond the top value.
() Also, the counter only triggers interrupts when counter reaches
   zero (as configured as counting down), it can be do relative
   alarms. So return -ENOTSUP when absolute alarms are requested.
() The test expects the callback to be removed once alarm is
   triggered. Implement this too.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent a5c53ff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment