blob: 3b2b847dc048f9f5dbe21b214e99d58ab781ad20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* Copyright (c) 2014 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.
*/
/* NPCX-specific clock module for Chrome EC */
#ifndef __CROS_EC_CLOCK_CHIP_H
#define __CROS_EC_CLOCK_CHIP_H
/**
* Return the current APB1 clock frequency in Hz.
*/
int clock_get_apb1_freq(void);
/**
* Return the current APB2 clock frequency in Hz.
*/
int clock_get_apb2_freq(void);
#endif /* __CROS_EC_CLOCK_CHIP_H */
|