Guest User

system.c

a guest
Mar 14th, 2013
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.73 KB | None | 0 0
  1. /******************************************************************************/
  2. /*Files to Include                                                            */
  3. /******************************************************************************/
  4.  
  5. #if defined(__XC)
  6.     #include <xc.h>         /* XC8 General Include File */
  7. #elif defined(HI_TECH_C)
  8.     #include <htc.h>        /* HiTech General Include File */
  9. #endif
  10.  
  11. #include <stdint.h>        /* For uint8_t definition */
  12. #include <stdbool.h>       /* For true/false definition */
  13.  
  14. #include "system.h"
  15.  
  16.  
  17.  
  18. /* Refer to the device datasheet for information about available
  19. oscillator configurations. */
  20. void ConfigureOscillator(void)
  21. {
  22.     OSCCON = 0b01110000;  //8 mhz stable
  23. }
Advertisement
Add Comment
Please, Sign In to add comment