Silicon Laboratories EFR32xG14 Wireless Gecko Reference Manual page 663

Table of Contents

Advertisement

20.3.2.6 Compare Mode Registers
When running in Output Compare or PWM mode, the value in TIMERn_CCx_CCV will be compared against the count value. In Com-
pare mode the output can be configured to toggle, clear or set on compare match, overflow, and underflow through the CMOA, COFOA
and CUFOA fields in TIMERn_CCx_CTRL. TIMERn_CCx_CCV can be accessed directly or through the buffer register
TIMERn_CCx_CCVB, see
Figure 20.16 TIMER/WTIMER Output Compare/PWM Buffer Functionality Detail on page
ing to the buffer register, the value in TIMERn_CCx_CCVB will be written to TIMERn_CCx_CCV on the next update event. This func-
tionality ensures glitch free PWM outputs. The CCVBV flag in TIMERn_STATUS indicates whether the TIMERn_CCx_CCVB register
contains data that has not yet been written to the TIMERn_CCx_CCV register. Note that when writing 0 to TIMERn_CCx_CCVB in up-
down count mode the CCV value is updated when the timer counts from 0 to 1. Thus, the compare match for the next period will not
happen until the timer reaches 0 again on the way down.
Figure 20.16. TIMER/WTIMER Output Compare/PWM Buffer Functionality Detail
silabs.com | Building a more connected world.
APB Write (CCB)
Set
CCVBV
Update event
Clear
APB Write (CC)
TIMER/WTIMER - Timer/Counter
CCVB
Load APB
Load CCB
CCV
Load APB
Reference Manual
663. When writ-
Rev. 1.1 | 663

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EFR32xG14 Wireless Gecko and is the answer not in the manual?

Questions and answers

Table of Contents