Lines Matching full:tc

11  * @brief Atmel SAM MCU family counter (TC) driver.
14 * counter (on SAM4E series the counter is 32-bit). Remaining TC channels could
52 Tc *regs;
102 Tc *tc = dev_cfg->regs; in counter_sam_tc_start() local
103 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_start()
113 Tc *tc = dev_cfg->regs; in counter_sam_tc_stop() local
114 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_stop()
124 Tc *tc = dev_cfg->regs; in counter_sam_tc_get_value() local
125 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_get_value()
137 Tc *tc = dev_cfg->regs; in counter_sam_tc_set_alarm() local
138 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_set_alarm()
199 Tc *tc = dev_cfg->regs; in counter_sam_tc_cancel_alarm() local
200 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_cancel_alarm()
223 Tc *tc = dev_cfg->regs; in counter_sam_tc_set_top_value() local
224 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_set_top_value()
261 Tc *tc = dev_cfg->regs; in counter_sam_tc_get_top_value() local
262 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_get_top_value()
270 Tc *tc = dev_cfg->regs; in counter_sam_tc_get_pending_int() local
271 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_get_pending_int()
280 Tc *tc = dev_cfg->regs; in counter_sam_tc_isr() local
281 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_isr()
316 Tc *const tc = dev_cfg->regs; in counter_sam_initialize() local
317 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_initialize()
383 .regs = (Tc *)DT_INST_REG_ADDR(n), \