rt-thread/bsp/mb9bf500r/cpuusage.h

20 lines
361 B
C
Raw Normal View History

2013-01-08 22:40:58 +08:00
/*
2021-03-21 23:31:45 +08:00
* Copyright (c) 2006-2021, RT-Thread Development Team
2013-01-08 22:40:58 +08:00
*
2021-03-21 23:31:45 +08:00
* SPDX-License-Identifier: Apache-2.0
2013-01-08 22:40:58 +08:00
*
* Change Logs:
* Date Author Notes
* 2011-03-03 lgnq
*/
2021-03-21 23:31:45 +08:00
2013-01-08 22:40:58 +08:00
#ifndef __CPUUSAGE_H__
#define __CPUUSAGE_H__
#define CPU_UPDATE 1
void cpu_usage_get(rt_uint8_t *major, rt_uint8_t *minor);
void rt_hw_cpu_init(void);
#endif /*__ADC_H__ */