Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 840 → Rev 841

/trunk/timer2.h
15,20 → 15,8
// u8 RollMax;
} __attribute__((packed)) ServoParams_t;
 
// bitcoding for ServoParams.ServoCompInvert
#define SERVO_NICK_INV 0x01
#define SERVO_ROLL_INV 0x02
#define SERVO_RELATIVE 0x04 // direct poti control or relative moving of the servo value
#define CH_DIRECTION_1 0x08
#define CH_DIRECTION_2 0x10
 
//CH Orientation ServoBits 0x08 0x10
// --> no change 0 0
// --> front to starting point 0 1
// --> rear to to starting point 1 0
//-> start orientation 1 1
 
 
extern volatile ServoParams_t ServoParams;
 
void TIMER2_Init(void);