blob: ffc59588691817293a434951e76e94d268d665aa (
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 CLOCK_CHIP_H_
#define 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 /* CLOCK_CHIP_H_ */
|