diff options
Diffstat (limited to 'chip_interface/timer.h')
-rw-r--r-- | chip_interface/timer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chip_interface/timer.h b/chip_interface/timer.h index fa290abef5..b064939296 100644 --- a/chip_interface/timer.h +++ b/chip_interface/timer.h @@ -1,14 +1,17 @@ -/* timer.h - periodical timer +/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. * - * (Chromium license) */ + * timer.h - periodical timer + */ #ifndef __CHIP_INTERFACE_TIMER_H #define __CHIP_INTERFACE_TIMER_H /* init hardware and prepare ISR */ -EcError CrPeriodicalTimerInit(void); +EcError EcPeriodicalTimerInit(void); -EcError CrPeriodicalTimerRegister( +EcError EcPeriodicalTimerRegister( int interval /* ms */, int (*timer)(int /* delta ms from last call */)); |