Ксения (03.09.2019 10:29, просмотров: 921) ответил Evgeny_CD на А таковая 32 МГЦ и удвоенная частота таймеров остались?
Похоже, что 32 MHz держат. См. выпиcку из header-файла: /* Frequency select select */
typedef enum CLKCTRL_FREQSEL_enum
{
CLKCTRL_FREQSEL_1M_gc = (0x00<<2), /* 1 MHz system clock */
CLKCTRL_FREQSEL_2M_gc = (0x01<<2), /* 2 MHz system clock */
CLKCTRL_FREQSEL_3M_gc = (0x02<<2), /* 3 MHz system clock */
CLKCTRL_FREQSEL_4M_gc = (0x03<<2), /* 4 MHz system clock (default) */
CLKCTRL_FREQSEL_8M_gc = (0x05<<2), /* 8 MHz system clock */
CLKCTRL_FREQSEL_12M_gc = (0x06<<2), /* 12 MHz system clock */
CLKCTRL_FREQSEL_16M_gc = (0x07<<2), /* 16 MHz system clock */
CLKCTRL_FREQSEL_20M_gc = (0x08<<2), /* 20 MHz system clock */
CLKCTRL_FREQSEL_24M_gc = (0x09<<2), /* 24 MHz system clock */
CLKCTRL_FREQSEL_28M_gc = (0x0A<<2), /* 28 MHz system clock */
CLKCTRL_FREQSEL_32M_gc = (0x0B<<2), /* 32 MHz system clock */
} CLKCTRL_FREQSEL_t;
/* Frequency Select select */
typedef enum CLKSEL_enum
{
CLKSEL_OSCHF_gc = (0x00<<0), /* 1-32MHz internal oscillator */
CLKSEL_OSC32K_gc = (0x01<<0), /* 32.768kHz internal oscillator */
} CLKSEL_t;