30 lines
521 B
C
30 lines
521 B
C
/* SPDX-License-Identifier: BSD-3-Clause */
|
|
/*
|
|
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef __SYSTEM_RK3568_H_
|
|
#define __SYSTEM_RK3568_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
|
|
|
|
|
|
|
|
/**
|
|
\brief Update SystemCoreClock variable.
|
|
|
|
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
|
|
*/
|
|
extern void SystemCoreClockUpdate (void);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /*__SYSTEM_RK3568_H_ */
|