Home
last modified time | relevance | path

Searched refs:ch_num (Results 1 – 4 of 4) sorted by relevance

/hal_infineon-2.7.6/XMCLib/drivers/src/
Dxmc_vadc.c652 …d XMC_VADC_GROUP_EnableChannelSyncRequest(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num) in XMC_VADC_GROUP_EnableChannelSyncRequest() argument
658 ((ch_num) < XMC_VADC_NUM_CHANNELS_PER_GROUP)) in XMC_VADC_GROUP_EnableChannelSyncRequest()
664 group_ptr->CHCTR[ch_num] |= (uint32_t)((uint32_t)1 << VADC_G_CHCTR_SYNC_Pos); in XMC_VADC_GROUP_EnableChannelSyncRequest()
669 … XMC_VADC_GROUP_DisableChannelSyncRequest(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num) in XMC_VADC_GROUP_DisableChannelSyncRequest() argument
675 ((ch_num) < XMC_VADC_NUM_CHANNELS_PER_GROUP)) in XMC_VADC_GROUP_DisableChannelSyncRequest()
681 group_ptr->CHCTR[ch_num] &= ~((uint32_t)VADC_G_CHCTR_SYNC_Msk); in XMC_VADC_GROUP_DisableChannelSyncRequest()
888 uint8_t ch_num) in XMC_VADC_GLOBAL_SHS_SetGainFactor() argument
896 ch_mask = ((uint32_t)ch_num << (uint32_t)2); in XMC_VADC_GLOBAL_SHS_SetGainFactor()
1028 uint8_t ch_num) in XMC_VADC_GLOBAL_SHS_SetSigmaDeltaLoop() argument
1037 ((ch_num) < XMC_VADC_NUM_CHANNELS_PER_GROUP)) in XMC_VADC_GLOBAL_SHS_SetSigmaDeltaLoop()
[all …]
Dxmc_ccu8.c496 …U8_SLICE_LoadSelector(XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t ch_num) in XMC_CCU8_SLICE_LoadSelector() argument
501 …T("XMC_CCU8_SLICE_LoadSelector:Invalid Channel number", XMC_CCU8_SLICE_CHECK_COMP_CHANNEL(ch_num)); in XMC_CCU8_SLICE_LoadSelector()
507 tc |= (uint32_t)ch_num << CCU8_CC8_TC_TLS_Pos; in XMC_CCU8_SLICE_LoadSelector()
/hal_infineon-2.7.6/XMCLib/drivers/inc/
Dxmc_vadc.h2101 uint8_t ch_num);
2217 uint8_t ch_num);
2505 … XMC_VADC_GROUP_EnableChannelSyncRequest(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num);
2520 …XMC_VADC_GROUP_DisableChannelSyncRequest(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num);
2975 …d XMC_VADC_GROUP_ScanAddChannelToSequence(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num) in XMC_VADC_GROUP_ScanAddChannelToSequence() argument
2979 ((ch_num) < XMC_VADC_NUM_CHANNELS_PER_GROUP)) in XMC_VADC_GROUP_ScanAddChannelToSequence()
2980 group_ptr->ASSEL |= (uint32_t)((uint32_t)1 << ch_num); in XMC_VADC_GROUP_ScanAddChannelToSequence()
3025 … bool XMC_VADC_GROUP_ScanIsChannelPending(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num) in XMC_VADC_GROUP_ScanIsChannelPending() argument
3029 …XMC_ASSERT("XMC_VADC_GROUP_ScanIsChannelPending:Wrong Channel Number", ((ch_num) < XMC_VADC_NUM_CH… in XMC_VADC_GROUP_ScanIsChannelPending()
3031 return( (bool)((uint32_t)(group_ptr->ASPND >> ch_num) & 1U)); in XMC_VADC_GROUP_ScanIsChannelPending()
[all …]
Dxmc_ccu8.h1621 …8_SLICE_LoadSelector(XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t ch_num);
2612 … const XMC_CCU8_SLICE_COMPARE_CHANNEL_t ch_num) in XMC_CCU8_SLICE_EnableMultiChannelMode() argument
2615 …XMC_CCU8_SLICE_EnableMultiChannelMode:Invalid Channel", XMC_CCU8_SLICE_CHECK_COMP_CHANNEL(ch_num)); in XMC_CCU8_SLICE_EnableMultiChannelMode()
2617 slice->TC |= (uint32_t)CCU8_CC8_TC_MCME1_Msk << ch_num; in XMC_CCU8_SLICE_EnableMultiChannelMode()
2635 … const XMC_CCU8_SLICE_COMPARE_CHANNEL_t ch_num) in XMC_CCU8_SLICE_DisableMultiChannelMode() argument
2638 …MC_CCU8_SLICE_DisableMultiChannelMode:Invalid Channel", XMC_CCU8_SLICE_CHECK_COMP_CHANNEL(ch_num)); in XMC_CCU8_SLICE_DisableMultiChannelMode()
2640 slice->TC &= ~((uint32_t)CCU8_CC8_TC_MCME1_Msk << ch_num); in XMC_CCU8_SLICE_DisableMultiChannelMode()