Lines Matching refs:bmcfg
1973 void shrtimer_bunchmode_struct_para_init(shrtimer_bunchmode_parameter_struct* bmcfg) in shrtimer_bunchmode_struct_para_init() argument
1975 bmcfg->clock_source = SHRTIMER_BUNCHMODE_CLOCKSOURCE_MASTER; in shrtimer_bunchmode_struct_para_init()
1976 bmcfg->idle_duration = 0U; in shrtimer_bunchmode_struct_para_init()
1977 bmcfg->mode = SHRTIMER_BUNCHMODE_SINGLE; in shrtimer_bunchmode_struct_para_init()
1978 bmcfg->period = 0U; in shrtimer_bunchmode_struct_para_init()
1979 bmcfg->prescaler = SHRTIMER_BUNCHMODE_PRESCALER_DIV1; in shrtimer_bunchmode_struct_para_init()
1980 bmcfg->shadow = SHRTIMER_BUNCHMODEPRELOAD_DISABLED; in shrtimer_bunchmode_struct_para_init()
1981 bmcfg->trigger = SHRTIMER_BUNCHMODE_TRIGGER_NONE; in shrtimer_bunchmode_struct_para_init()
2000 void shrtimer_bunchmode_config(uint32_t shrtimer_periph, shrtimer_bunchmode_parameter_struct* bmcfg) in shrtimer_bunchmode_config() argument
2008 bmctl_reg |= bmcfg->mode; in shrtimer_bunchmode_config()
2012 bmctl_reg |= bmcfg->clock_source; in shrtimer_bunchmode_config()
2016 bmctl_reg |= bmcfg->prescaler; in shrtimer_bunchmode_config()
2020 bmctl_reg |= bmcfg->shadow; in shrtimer_bunchmode_config()
2023 SHRTIMER_BMSTRG(shrtimer_periph) = bmcfg->trigger; in shrtimer_bunchmode_config()
2026 SHRTIMER_BMCMPV(shrtimer_periph) = bmcfg->idle_duration; in shrtimer_bunchmode_config()
2029 SHRTIMER_BMCAR(shrtimer_periph) = bmcfg->period; in shrtimer_bunchmode_config()