/*
Initialize the internal 2 MHz oscillator
*/
OSC.CTRL |= OSC_RC2MEN_bm;
while(!(OSC.STATUS & OSC_RC2MRDY_bm));
CCP = CCP_IOREG_gc;
CLK.CTRL = CLK_SCLKSEL_RC2M_gc;
댓글 없음:
댓글 쓰기