cpu.h
来自「非常全的nrf2401设计资料」· C头文件 代码 · 共 40 行
H
40 行
/* Copyright (c) 2007 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use of the information. NO
* WARRENTY of ANY KIND is provided. This heading must NOT be removed from
* the file.
*
* $LastChangedRevision: 2290 $
*/
/** @file
* Interface functions for the CPU module.
* @defgroup nordic_cpu CPU
* @{
* @ingroup nordic_nrf24lu1
* CPU management functions.
*/
#ifndef CPU_H__
#define CPU_H__
#include <stdint.h>
/** Function to set the CPU in power down mode
* @return This function does not retun until the CPU wakens
*/
void cpu_pwr_down(void);
/** Function to set the clock frequency of the chip
* cf is the value of the CLKCTL register but only bits 4-6 are used in this
* function.
* @param cf The clock frequency
*/
void cpu_set_clock_frequency(uint8_t cf);
#endif // CPU_H__
/** @} */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?