Lines Matching refs:top
256 void PCNT_CounterTopSet(PCNT_TypeDef *pcnt, uint32_t count, uint32_t top) in PCNT_CounterTopSet() argument
267 EFM_ASSERT((1 << PCNT0_CNT_SIZE) > top); in PCNT_CounterTopSet()
274 EFM_ASSERT((1 << PCNT1_CNT_SIZE) > top); in PCNT_CounterTopSet()
281 EFM_ASSERT((1 << PCNT2_CNT_SIZE) > top); in PCNT_CounterTopSet()
312 if (top != count) { in PCNT_CounterTopSet()
318 pcnt->TOPB = top; in PCNT_CounterTopSet()
341 if (top != count) { in PCNT_CounterTopSet()
345 pcnt->TOP = top; in PCNT_CounterTopSet()
524 EFM_ASSERT((1 << PCNT0_CNT_SIZE) > init->top); in PCNT_Init()
531 EFM_ASSERT((1 << PCNT1_CNT_SIZE) > init->top); in PCNT_Init()
538 EFM_ASSERT((1 << PCNT2_CNT_SIZE) > init->top); in PCNT_Init()
657 pcnt->TOPB = init->top; in PCNT_Init()
694 PCNT_CounterTopSet(pcnt, init->counter, init->top); in PCNT_Init()
771 PCNT_CounterTopSet(pcnt, init->counter, init->top); in PCNT_Init()
772 PCNT_TopBufferSet(pcnt, init->top); in PCNT_Init()