![]() ' OSCCON2 = $00 ' Bit 7 n/a, Bit 6 - SOSCRUN - Run status bit, Bit 5-4 n/a, ' Bits 1-0 - 00= Dephalt Pri OSc ( OSC1/2 or HF-INTOSC with/without PLL set in FOSC,3:0> config1H ' Bit 2 - HFIOFS =1 ( INTOSC Frq stable bit - 1 = stable, 0 = not stable ' Bit 3 - OSTS = 0 - Osc startup time out is ruinning from internal OSC ( HF, MF or LF-INTOSC) ' Note: INTSRC = OSCTUNE and MFIOSEL = OSCCON2 ' Bit 7 IDLEN =0 ( sleep mode when sleep instraction executed) OSCCON = %01100000 ' Select 32Mhz - using 8Mhz internal with PPLx4 in Config1H = IDLEN =0, 8Mhz, OSTS=0,RFIOFS=1,RC_Run (1x) OSC using PLL ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |