1 ////////////////////////////////////////////////////////////////// 2 // picsfr.h 3 // Copyright (c) 2015 Robert Ramey 4 // 5 // Distributed under the Boost Software License, Version 1.0. (See 6 // accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt) 8 // 9 // Put these in a separate file so they can conditionally included. 10 // This is necessary since their mere inclusion will cause syntax 11 // errors on some compilers. 12 13 #ifndef PICSFR_H 14 #define PICSFR_H 15 16 #byte TRISC = 0xf94 17 #byte T3CON = 0xfb1 18 #byte CCP2CON = 0xfba 19 #byte CCPR2L = 0xfbb 20 #byte CCPR2H = 0xfbc 21 #byte CCP1CON = 0xfbd 22 #byte CCPR1L = 0xfbe 23 #byte CCPR1H = 0xfbf 24 #byte T1CON = 0xfcd 25 #byte TMR1L = 0xfce 26 #byte TMR1H = 0xfcf 27 #bit TMR1ON = T1CON.0 28 29 #endif // PICSFR_H 30