Lines Matching refs:chctr

1712   group_ptr->CHCTR[ch_num] = config->chctr;  in XMC_VADC_GROUP_ChannelInit()
1720 uint32_t chctr; in XMC_VADC_GROUP_ChannelIsResultOutOfBounds() local
1733 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelIsResultOutOfBounds()
1734 chctr = (uint32_t)(chctr >> (uint32_t)VADC_G_CHCTR_CHEVMODE_Pos)& (uint32_t)0x3; in XMC_VADC_GROUP_ChannelIsResultOutOfBounds()
1741 if ( (( (uint32_t)XMC_VADC_CHANNEL_EVGEN_INBOUND == chctr) \ in XMC_VADC_GROUP_ChannelIsResultOutOfBounds()
1742 || ((uint32_t) XMC_VADC_CHANNEL_EVGEN_OUTBOUND == chctr)) && (ceflag) ) in XMC_VADC_GROUP_ChannelIsResultOutOfBounds()
1755 uint32_t chctr; in XMC_VADC_GROUP_ChannelSetInputReference() local
1760 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelSetInputReference()
1761 chctr &= ~((uint32_t)VADC_G_CHCTR_REFSEL_Msk); in XMC_VADC_GROUP_ChannelSetInputReference()
1762 chctr |= (uint32_t)((uint32_t)ref << VADC_G_CHCTR_REFSEL_Pos); in XMC_VADC_GROUP_ChannelSetInputReference()
1764 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelSetInputReference()
1772 uint32_t chctr; in XMC_VADC_GROUP_ChannelSetResultRegister() local
1780 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelSetResultRegister()
1781 chctr &= ~((uint32_t)VADC_G_CHCTR_RESREG_Msk); in XMC_VADC_GROUP_ChannelSetResultRegister()
1782 chctr |= (uint32_t)(result_reg_num << VADC_G_CHCTR_RESREG_Pos); in XMC_VADC_GROUP_ChannelSetResultRegister()
1784 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelSetResultRegister()
1793 uint32_t chctr; in XMC_VADC_GROUP_ChannelSetIclass() local
1801 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelSetIclass()
1802 chctr &= ~((uint32_t)VADC_G_CHCTR_ICLSEL_Msk); in XMC_VADC_GROUP_ChannelSetIclass()
1803 chctr |= (uint32_t)((uint32_t)conversion_class << (uint32_t)VADC_G_CHCTR_ICLSEL_Pos); in XMC_VADC_GROUP_ChannelSetIclass()
1805 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelSetIclass()
1859 uint32_t chctr; in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria() local
1867 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria()
1868 chctr &= ~((uint32_t)VADC_G_CHCTR_CHEVMODE_Msk); in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria()
1869 chctr |= (uint32_t)((uint32_t)criteria << VADC_G_CHCTR_CHEVMODE_Pos); in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria()
1870 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria()