Lines Matching refs:tc

349   slice->TC = compare_init->tc;  in XMC_CCU8_SLICE_CompareInit()
378 slice->TC = capture_init->tc; in XMC_CCU8_SLICE_CaptureInit()
423 uint32_t tc; in XMC_CCU8_SLICE_StartConfig() local
437 tc = slice->TC; in XMC_CCU8_SLICE_StartConfig()
441 tc |= (uint32_t) CCU8_CC8_TC_STRM_Msk; in XMC_CCU8_SLICE_StartConfig()
445 tc &= ~((uint32_t) CCU8_CC8_TC_STRM_Msk); in XMC_CCU8_SLICE_StartConfig()
448 slice->TC = tc; in XMC_CCU8_SLICE_StartConfig()
457 uint32_t tc; in XMC_CCU8_SLICE_StopConfig() local
471 tc = slice->TC; in XMC_CCU8_SLICE_StopConfig()
472 tc &= ~((uint32_t) CCU8_CC8_TC_ENDM_Msk); in XMC_CCU8_SLICE_StopConfig()
473 tc |= ((uint32_t) end_mode) << CCU8_CC8_TC_ENDM_Pos; in XMC_CCU8_SLICE_StopConfig()
475 slice->TC = tc; in XMC_CCU8_SLICE_StopConfig()
498 uint32_t tc; in XMC_CCU8_SLICE_LoadSelector() local
503 tc = slice->TC; in XMC_CCU8_SLICE_LoadSelector()
506 tc &= ~((uint32_t) CCU8_CC8_TC_TLS_Msk); in XMC_CCU8_SLICE_LoadSelector()
507 tc |= (uint32_t)ch_num << CCU8_CC8_TC_TLS_Pos; in XMC_CCU8_SLICE_LoadSelector()
509 slice->TC = tc; in XMC_CCU8_SLICE_LoadSelector()
520 uint32_t tc; in XMC_CCU8_SLICE_ModulationConfig() local
538 tc = slice->TC; in XMC_CCU8_SLICE_ModulationConfig()
543 tc |= (uint32_t) CCU8_CC8_TC_EMT_Msk; in XMC_CCU8_SLICE_ModulationConfig()
547 tc &= ~((uint32_t) CCU8_CC8_TC_EMT_Msk); in XMC_CCU8_SLICE_ModulationConfig()
553 tc |= (uint32_t) CCU8_CC8_TC_EMS_Msk; in XMC_CCU8_SLICE_ModulationConfig()
557 tc &= ~((uint32_t) CCU8_CC8_TC_EMS_Msk); in XMC_CCU8_SLICE_ModulationConfig()
561 tc &= ~((uint32_t) CCU8_CC8_TC_EME_Msk); in XMC_CCU8_SLICE_ModulationConfig()
562 tc |= (uint32_t)channel << CCU8_CC8_TC_EME_Pos; in XMC_CCU8_SLICE_ModulationConfig()
564 slice->TC = tc; in XMC_CCU8_SLICE_ModulationConfig()
676 uint32_t tc; in XMC_CCU8_SLICE_TrapConfig() local
690 tc = slice->TC; in XMC_CCU8_SLICE_TrapConfig()
695 tc |= (uint32_t) CCU8_CC8_TC_TRPSE_Msk; in XMC_CCU8_SLICE_TrapConfig()
699 tc &= ~((uint32_t) CCU8_CC8_TC_TRPSE_Msk); in XMC_CCU8_SLICE_TrapConfig()
705 tc |= (uint32_t) CCU8_CC8_TC_TRPSW_Msk; in XMC_CCU8_SLICE_TrapConfig()
709 tc &= ~((uint32_t) CCU8_CC8_TC_TRPSW_Msk); in XMC_CCU8_SLICE_TrapConfig()
712 slice->TC = tc; in XMC_CCU8_SLICE_TrapConfig()
937 uint32_t tc; in XMC_CCU8_SLICE_SetTimerRepeatMode() local
944 tc = slice->TC; in XMC_CCU8_SLICE_SetTimerRepeatMode()
948 tc &= ~((uint32_t) CCU8_CC8_TC_TSSM_Msk); in XMC_CCU8_SLICE_SetTimerRepeatMode()
952 tc |= (uint32_t) CCU8_CC8_TC_TSSM_Msk; in XMC_CCU8_SLICE_SetTimerRepeatMode()
955 slice->TC = tc; in XMC_CCU8_SLICE_SetTimerRepeatMode()
961 uint32_t tc; in XMC_CCU8_SLICE_SetTimerCountingMode() local
968 tc = slice->TC; in XMC_CCU8_SLICE_SetTimerCountingMode()
972 tc &= ~((uint32_t) CCU8_CC8_TC_TCM_Msk); in XMC_CCU8_SLICE_SetTimerCountingMode()
976 tc |= (uint32_t) CCU8_CC8_TC_TCM_Msk; in XMC_CCU8_SLICE_SetTimerCountingMode()
979 slice->TC = tc; in XMC_CCU8_SLICE_SetTimerCountingMode()
1101 uint32_t tc; in XMC_CCU8_SLICE_EnableDithering() local
1105 tc = slice->TC; in XMC_CCU8_SLICE_EnableDithering()
1106 tc &= ~((uint32_t) CCU8_CC8_TC_DITHE_Msk); in XMC_CCU8_SLICE_EnableDithering()
1110 tc |= (((uint32_t) XMC_CCU8_SLICE_DITHER_PERIOD_MASK) << CCU8_CC8_TC_DITHE_Pos); in XMC_CCU8_SLICE_EnableDithering()
1114 tc |= (((uint32_t) XMC_CCU8_SLICE_DITHER_DUTYCYCLE_MASK) << CCU8_CC8_TC_DITHE_Pos); in XMC_CCU8_SLICE_EnableDithering()
1117 slice->TC = tc; in XMC_CCU8_SLICE_EnableDithering()