39 CPU_ATXMEGA_CLK_SCALE_DIV1 = 0,
40 CPU_ATXMEGA_CLK_SCALE_DIV2 = 1,
41 CPU_ATXMEGA_CLK_SCALE_DIV4 = 3,
42 CPU_ATXMEGA_CLK_SCALE_DIV8 = 5,
43 CPU_ATXMEGA_CLK_SCALE_DIV16 = 7,
44 CPU_ATXMEGA_CLK_SCALE_DIV32 = 9,
45 CPU_ATXMEGA_CLK_SCALE_DIV64 = 11,
46 CPU_ATXMEGA_CLK_SCALE_DIV128 = 13,
47 CPU_ATXMEGA_CLK_SCALE_DIV256 = 15,
48 CPU_ATXMEGA_CLK_SCALE_DIV512 = 17,
52 CPU_ATXMEGA_BUS_SCALE_DIV1_1 = 0,
53 CPU_ATXMEGA_BUS_SCALE_DIV1_2 = 1,
54 CPU_ATXMEGA_BUS_SCALE_DIV4_1 = 2,
55 CPU_ATXMEGA_BUS_SCALE_DIV2_2 = 3,
67 _PROTECTED_WRITE(CLK.PSCTRL, clk_scale | bus_scale);
static void atxmega_set_prescaler(uint8_t clk_scale, uint8_t bus_scale)
Initializes system clock prescaler.