Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Servo driving MAT0.1 (SERVO_CLOCK_PIN) using TIMER0. More...
Go to the source code of this file.
Macros | |
#define | START_TIMEOUT 0xFFFF; |
Functions | |
void | actuators_4015_init (void) |
Variables | |
uint8_t | servos_4015_idx |
uint32_t | servos_delay |
uint16_t | servos_values [_4015_NB_CHANNELS] |
Servo driving MAT0.1 (SERVO_CLOCK_PIN) using TIMER0.
Servo driving on MAT0.1 (SERVO_CLOCK_PIN) using TIMER0.
Definition in file servos_4015_MAT_hw.c.
#define START_TIMEOUT 0xFFFF; |
Definition at line 35 of file servos_4015_MAT_hw.c.
Referenced by actuators_4015_init().
void actuators_4015_init | ( | void | ) |
Definition at line 37 of file servos_4015_MAT_hw.c.
References _4015_NB_CHANNELS, _VIC_ADDR, _VIC_CNTL, IO0DIR, IO1DIR, IO1SET, PINSEL2, PWM_ISR(), PWM_VIC_SLOT, PWMLER, PWMLER_LATCH0, PWMLER_LATCH_SERV1, PWMMCR, PWMMCR_MR0R, PWMMCR_MRI_SERV1, PWMMR0, PWMMR_SERV1, PWMPCR, PWMPCR_ENA_SERV1, PWMPR, PWMTCR, PWMTCR_COUNTER_ENABLE, PWMTCR_PWM_ENABLE, SERVO_CLOCK_PIN, SERVO_CLOCK_PINSEL, SERVO_CLOCK_PINSEL_BIT, SERVO_CLOCK_PINSEL_VAL, SERVO_DATA_PIN, SERVO_REFRESH_TICS, SERVO_RESET_PIN, servos_4015_idx, servos_delay, SERVOS_TICS_OF_USEC, servos_values, START_TIMEOUT, T0EMR, T0MCR, T0MR1, TEMR_EM1, TEMR_EMC1_2, TMCR_MR1_I, VIC_BIT, VIC_ENABLE, VIC_PWM, VICIntEnable, and VICIntSelect.
uint8_t servos_4015_idx |
Definition at line 32 of file servos_4015_MAT_hw.c.
Referenced by actuators_4015_init().
uint32_t servos_delay |
Definition at line 33 of file servos_4015_MAT_hw.c.
Referenced by actuators_4015_init().
uint16_t servos_values[_4015_NB_CHANNELS] |
Definition at line 74 of file servos_4015_MAT_hw.c.
Referenced by actuators_4015_init().