1 #ifndef PIOS_TIM_PRIV_H
2 #define PIOS_TIM_PRIV_H
22 void (*
overflow)(uintptr_t tim_id, uintptr_t context, uint8_t chan_idx, uint16_t
count);
23 void (*
edge)(uintptr_t tim_id, uintptr_t context, uint8_t chan_idx, uint16_t
count);
Types that are specific to the STM32 peripherals.
const TIM_TimeBaseInitTypeDef * time_base_init
void PIOS_TIM_InitTimerPin(uintptr_t tim_id, int idx)
void(* overflow)(uintptr_t tim_id, uintptr_t context, uint8_t chan_idx, uint16_t count)
void PIOS_TIM_InitAllTimerPins(uintptr_t tim_id)
static struct flyingpicmd_cfg_fa cfg
int32_t PIOS_TIM_InitClock(const struct pios_tim_clock_cfg *cfg)
int32_t PIOS_TIM_InitChannels(uintptr_t *tim_id, const struct pios_tim_channel *channels, uint8_t num_channels, const struct pios_tim_callbacks *callbacks, uintptr_t context)
void PIOS_TIM_SetBankToGPOut(uintptr_t tim_id, TIM_TypeDef *timer)
void(* edge)(uintptr_t tim_id, uintptr_t context, uint8_t chan_idx, uint16_t count)