Hanna
Sourcecode Batteriemanagementsystem
Doku Start
Informationen
Auflistung der Dateien
Datenstrukturen
Batman
Hanna
Documents
Eclipse
ws-bms
bms_main
clock_timer
conf_clock.h
gehe zur Dokumentation dieser Datei
1
8
#ifndef CONF_CLOCK_H_INCLUDED
9
#define CONF_CLOCK_H_INCLUDED
10
16
#define CONFIG_USBCLK_SOURCE USBCLK_SRC_RCOSC
17
#define CONFIG_OSC_RC32_CAL 48000000UL
18
#define CONFIG_OSC_AUTOCAL_RC32MHZ_REF_OSC OSC_ID_USBSOF
19
20
#define CONFIG_SYSCLK_SOURCE SYSCLK_SRC_RC32MHZ
21
#define CONFIG_SYSCLK_PSADIV SYSCLK_PSADIV_2
22
#define CONFIG_SYSCLK_PSBCDIV SYSCLK_PSBCDIV_1_1
23
24
/*
29
30
#define CONFIG_PLL0_SOURCE PLL_SRC_XOSC
31
#define CONFIG_PLL0_MUL 6
32
#define CONFIG_PLL0_DIV 1
33
34
#define CONFIG_USBCLK_SOURCE USBCLK_SRC_PLL
35
36
#define CONFIG_SYSCLK_SOURCE SYSCLK_SRC_PLL
37
#define CONFIG_SYSCLK_PSADIV SYSCLK_PSADIV_2
38
#define CONFIG_SYSCLK_PSBCDIV SYSCLK_PSBCDIV_1_2
39
*/
40
41
42
#endif
/* CONF_CLOCK_H_INCLUDED */