Searched refs:target_periph (Results 1 – 2 of 2) sorted by relevance
38 #define TRIGSEL_TARGET_REG(target_periph) REG32(TRIGSEL + ((uint8_t)(target_periph) & BITS… argument39 #define TRIGSEL_TARGET_PERIPH_SHIFT(target_periph) (((uint8_t)(target_periph) & BITS(0, 1)) << 3) … argument40 …e TRIGSEL_TARGET_PERIPH_MASK(target_periph) ((uint32_t)(TRIGSEL_TARGET_INSEL0 << TRIGSEL_TARGET_P… argument171 void trigsel_init(trigsel_periph_enum target_periph, trigsel_source_enum trigger_source) in trigsel_init() argument174 if (RESET == trigsel_register_lock_get(target_periph)){ in trigsel_init()175 TRIGSEL_TARGET_REG(target_periph) &= ~TRIGSEL_TARGET_PERIPH_MASK(target_periph); in trigsel_init()176 …ARGET_REG(target_periph) |= ((uint32_t)trigger_source << TRIGSEL_TARGET_PERIPH_SHIFT(target_periph… in trigsel_init()240 uint8_t trigsel_trigger_source_get(trigsel_periph_enum target_periph) in trigsel_trigger_source_get() argument244 …_t)((TRIGSEL_TARGET_REG(target_periph) & TRIGSEL_TARGET_PERIPH_MASK(target_periph)) >> TRIGSEL_TAR… in trigsel_trigger_source_get()309 void trigsel_register_lock_set(trigsel_periph_enum target_periph) in trigsel_register_lock_set() argument[all …]
202 void trigsel_init(trigsel_periph_enum target_periph, trigsel_source_enum trigger_source);204 uint8_t trigsel_trigger_source_get(trigsel_periph_enum target_periph);206 void trigsel_register_lock_set(trigsel_periph_enum target_periph);208 FlagStatus trigsel_register_lock_get(trigsel_periph_enum target_periph);