Files
VK035_Template/Core/App/rcu.h

23 lines
1014 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*==============================================================================
* Инициализация тактирования с использованием бибилотеки 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*/