Files
OpenCellular/include
Randall Spangler 433f98c6b6 Add per-second hook
PWM and temp sensor monitoring want to happen every second,
vs. several times a second for watchdog and LPC.

This is still considerably simpler than having tick functions declare
an interval at which they want to be called, which would require a
RAM-based array of pending tick functions and alarm times.  If you
need that level of complexity, you still need a task.

BUG=chrome-os-partner:15714
BRANCH=none

TEST=temporarily add HOOK_TICK and HOOK_SECOND hooks and see that on
LM4, HOOK_TICK is called 4x a second and HOOK_SECOND is called every
second.

Change-Id: I5c09842fd356d3254021486949b2799142068b4f
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36938
Commit-Ready: Simon Glass <sjg@chromium.org>
2012-10-30 15:33:25 -07:00
..
2012-10-30 10:45:07 -07:00
2012-10-24 10:09:20 -07:00
2012-10-29 16:52:49 -07:00
2012-10-30 12:42:47 -07:00
2012-10-30 14:50:03 -07:00
2011-12-07 19:10:02 +00:00
2012-10-26 09:49:38 -07:00
2012-10-25 11:24:04 -07:00
2012-10-30 12:42:46 -07:00
2012-10-30 15:33:25 -07:00
2012-06-29 10:46:22 -07:00
2012-10-23 17:32:01 -07:00
2012-10-23 17:32:01 -07:00
2012-10-30 12:42:46 -07:00
2012-10-23 17:32:02 -07:00
2012-06-07 09:59:55 -07:00
2012-10-30 12:42:45 -07:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:11 -07:00
2012-10-29 10:36:05 -07:00
2012-09-21 14:54:33 -07:00
2012-10-25 14:12:11 -07:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:10 -07:00
2012-10-25 17:03:44 -07:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2012-10-30 14:50:03 -07:00
2012-10-25 17:03:43 -07:00
2012-09-09 11:00:34 -07:00
2012-10-26 13:10:57 -07:00
2012-10-26 13:10:57 -07:00
2012-10-29 16:52:49 -07:00
2012-10-30 12:42:43 -07:00
2012-10-26 09:49:37 -07:00
2012-04-24 17:46:54 -07:00