Defines | Functions | Variables
TeensyReceiver.h File Reference

Go to the source code of this file.

Defines

#define RX_CHANNELS   6

Functions

void initializeReceiver ()
void PWM_ISR_0 ()
void PWM_ISR_1 ()
void PWM_ISR_2 ()
void PWM_ISR_3 ()
void PWM_ISR_4 ()
void PWM_ISR_5 ()
void PWM_ISR_6 ()
void PWM_ISR_7 ()
void readPWM (uint8_t channel)
void RX_failSafe ()

Variables

bool failsafeEnabled = false
volatile int oks = 0
void(* PWM_Handlers [])(void)
uint8_t PWM_PINS [RX_CHANNELS] = {2,3,4,5,6,7}
volatile uint32_t PWM_time [RX_CHANNELS] = {0,0,0,0,0,0}
volatile uint16_t RX [RX_CHANNELS] = {1500,1500,1500,1500,1500,1500}
volatile uint16_t RX_failsafeStatus
volatile uint8_t RX_signalReceived = 0

Define Documentation

#define RX_CHANNELS   6

Definition at line 23 of file TeensyReceiver.h.


Function Documentation

Definition at line 89 of file TeensyReceiver.h.

void PWM_ISR_0 ( )

Definition at line 53 of file TeensyReceiver.h.

void PWM_ISR_1 ( )

Definition at line 56 of file TeensyReceiver.h.

void PWM_ISR_2 ( )

Definition at line 59 of file TeensyReceiver.h.

void PWM_ISR_3 ( )

Definition at line 62 of file TeensyReceiver.h.

void PWM_ISR_4 ( )

Definition at line 65 of file TeensyReceiver.h.

void PWM_ISR_5 ( )

Definition at line 68 of file TeensyReceiver.h.

void PWM_ISR_6 ( )

Definition at line 71 of file TeensyReceiver.h.

void PWM_ISR_7 ( )

Definition at line 74 of file TeensyReceiver.h.

void readPWM ( uint8_t  channel)

Definition at line 37 of file TeensyReceiver.h.

void RX_failSafe ( )

Definition at line 101 of file TeensyReceiver.h.


Variable Documentation

bool failsafeEnabled = false

Definition at line 35 of file TeensyReceiver.h.

volatile int oks = 0

Definition at line 33 of file TeensyReceiver.h.

void(* PWM_Handlers[])(void)
Initial value:

Definition at line 78 of file TeensyReceiver.h.

uint8_t PWM_PINS[RX_CHANNELS] = {2,3,4,5,6,7}

Definition at line 24 of file TeensyReceiver.h.

volatile uint32_t PWM_time[RX_CHANNELS] = {0,0,0,0,0,0}

Definition at line 27 of file TeensyReceiver.h.

volatile uint16_t RX[RX_CHANNELS] = {1500,1500,1500,1500,1500,1500}

Definition at line 26 of file TeensyReceiver.h.

volatile uint16_t RX_failsafeStatus

Definition at line 30 of file TeensyReceiver.h.

volatile uint8_t RX_signalReceived = 0

Definition at line 31 of file TeensyReceiver.h.



ric_mc
Author(s): RoboTiCan
autogenerated on Fri May 20 2016 03:48:57