Шаблон проекта с моей расширенной библиотекой MyLibs
This commit is contained in:
22
Core/App/rcu.h
Normal file
22
Core/App/rcu.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*==============================================================================
|
||||
* Инициализация тактирования с использованием бибилотеки PLIB035
|
||||
*------------------------------------------------------------------------------
|
||||
* ЦНИИ СЭТ, Разваляев Алексей <wot890089@mail.ru>
|
||||
*==============================================================================
|
||||
* ЦНИИ СЭТ
|
||||
*==============================================================================
|
||||
*/
|
||||
#ifndef __RCU_H
|
||||
#define __RCU_H
|
||||
//-- Includes ------------------------------------------------------------------
|
||||
#include "main.h"
|
||||
|
||||
//-- Defines -------------------------------------------------------------------
|
||||
static RCU_PLL_Ref_TypeDef OS_Type = RCU_PLL_Ref_OSEClk;
|
||||
#define MCU_CLOCK_MHZ 100
|
||||
#define __MHZ 1000000
|
||||
|
||||
//-- Exported functions prototypes ---------------------------------------------
|
||||
void sysclk_init(void);
|
||||
|
||||
#endif /*__RCU_H*/
|
||||
Reference in New Issue
Block a user