/PIC Stuff/PIC_27J13/adc.h |
1,5 → 1,5 |
#ifndef __adc_h |
#define __adc_h |
#ifndef ADC_H |
#define ADC_H |
|
#define ADC_CHANNEL_AN0 0b0000 |
#define ADC_CHANNEL_AN1 0b0001 |
/PIC Stuff/PIC_27J13/defines.h |
1,5 → 1,5 |
#ifndef __maindefs_h |
#define __maindefs_h |
#ifndef DEFINES_H |
#define DEFINES_H |
|
#include <p18f27j13.h> |
#include "uart.h" |
/PIC Stuff/PIC_27J13/interrupts.h |
1,5 → 1,5 |
#ifndef __interrupts_h |
#define __interrupts_h |
#ifndef INTERRUPTS_H |
#define INTERRUPTS_H |
|
// Note: As the interrupt system is currently setup, at the end |
// of each high-priority interrupt, the system will check to |
/PIC Stuff/PIC_27J13/pin_interrupts.h |
1,5 → 1,5 |
#ifndef __pin_interrupts_h |
#define __pin_interrupts_h |
#ifndef PIN_INTERRUPTS_H |
#define PIN_INTERRUPTS_H |
|
void intx_init(void); |
void int1_interrupt_handler(void); |
/PIC Stuff/PIC_27J13/pwm.h |
1,5 → 1,5 |
#ifndef __pwm_h |
#define __pwm_h |
#ifndef PWM_H |
#define PWM_H |
|
void pwm_init(void); |
void pwm_start(void); |
/PIC Stuff/PIC_27J13/timers.h |
1,5 → 1,5 |
#ifndef __timer_interrupt_handler_h |
#define __timer_interrupt_handler_h |
#ifndef TIMERS_H |
#define TIMERS_H |
|
void Timer1_Init(void); |
void Timer1_Enable(void); |