2 * Copyright (C) 2007 Anton Blad
3 * Copyright (C) 2007 Fredrik Kuivinen
4 * Copyright (C) 2007 Jakob Rosén
6 * This file is licensed under GPL v2.
14 /* avrlibc does not yet include complete support for at90usb162. The lacking
15 functionality is defined in this file. */
17 #if __AVR_LIBC_VERSION__ < 10600ul
31 #define clock_prescale_set(x) \
33 uint8_t tmp = _BV(CLKPCE); \
34 __asm__ __volatile__ ( \
35 "in __tmp_reg__,__SREG__" "\n\t" \
39 "out __SREG__, __tmp_reg__" \
42 "M" (_SFR_MEM_ADDR(CLKPR)), \