You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "William San Filippo (JIRA)" <ji...@apache.org> on 2016/06/24 23:28:16 UTC
[jira] [Created] (MYNEWT-329) Make hal cputime more efficient when
1 MHz clock or 32.768 kHz crystal is used.
William San Filippo created MYNEWT-329:
------------------------------------------
Summary: Make hal cputime more efficient when 1 MHz clock or 32.768 kHz crystal is used.
Key: MYNEWT-329
URL: https://issues.apache.org/jira/browse/MYNEWT-329
Project: Mynewt
Issue Type: Improvement
Components: HAL, Nimble
Affects Versions: v0_9_0
Reporter: William San Filippo
Assignee: William San Filippo
Fix For: v0_10_0
We can make hal cputime be more efficient if we assume a 1 MHz or 32.768 kHz crystal as the timebase for hal cputime. Note that choosing these two values and not making other values generic seems reasonable as many low power timers are driven by 32.768 kHz crystals, and having a 1MHz clock for applications that dont care about power provides a fine enough resolution and makes converting from usecs to clock ticks simple.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)