48 CPU_ATMEGA_CLK_SCALE_DIV1 = 0,
49 CPU_ATMEGA_CLK_SCALE_DIV2 = 1,
50 CPU_ATMEGA_CLK_SCALE_DIV4 = 2,
51 CPU_ATMEGA_CLK_SCALE_DIV8 = 3,
52 CPU_ATMEGA_CLK_SCALE_DIV16 = 4,
53 CPU_ATMEGA_CLK_SCALE_DIV32 = 5,
54 CPU_ATMEGA_CLK_SCALE_DIV64 = 6,
55 CPU_ATMEGA_CLK_SCALE_DIV128 = 7,
56 CPU_ATMEGA_CLK_SCALE_DIV256 = 8,
57 CPU_ATMEGA_CLK_SCALE_DIV512 = 9,
68 CLKPR = (1 << CLKPCE);
static void atmega_set_prescaler(uint8_t clk_scale)
Initializes system clock prescaler.