Lines Matching full:tc
10 * @brief Atmel SAM MCU family Quadrature Decoder (QDEC/TC) driver.
28 Tc *regs;
42 Tc *const tc = dev_cfg->regs; in qdec_sam_fetch() local
43 TcChannel *tc_ch0 = &tc->TcChannel[0]; in qdec_sam_fetch()
66 static void qdec_sam_start(Tc *const tc) in qdec_sam_start() argument
68 TcChannel *tc_ch0 = &tc->TcChannel[0]; in qdec_sam_start()
78 Tc *const tc = dev_cfg->regs; in qdec_sam_configure() local
79 TcChannel *tc_ch0 = &tc->TcChannel[0]; in qdec_sam_configure()
87 tc->TC_BMR = TC_BMR_QDEN in qdec_sam_configure()
92 qdec_sam_start(tc); in qdec_sam_configure()
108 /* Enable TC clock in PMC */ in qdec_sam_initialize()
128 .regs = (Tc *)DT_REG_ADDR(DT_INST_PARENT(n)), \