Counter Value
0x3FF
CCRA
CCRP
CTnON
CTnPAU
CTnPOL
CCRA Int.
Flag CTMnAF
CCRP Int.
Flag CTMnPF
CTMnPF not
generated
CTMn O/P Pin
Output Toggle with
Output pin set to
initial Level Low if
CTnOC=0
Here CTnIO [1:0] = 11
Toggle Output select
Compare Match Output Mode – CTnCCLR=1 (n=0~1)
Note: 1. With CTnCCLR=1 a Comparator A match will clear the counter
2. The CTMn output pin is controlled only by the CTMnAF flag
3. The output pin is reset to its initial state by a CTnON bit rising edge
4. A CTMnPF flag is not generated when CTnCCLR=1
Rev. 1.00
High Voltage Touch A/D Flash MCU with HVIO
CCRA > 0 Counter cleared by CCRA value
Pause
Output not affected by
CTMnAF flag. Remains High
until reset by CTnON bit
CTMnAF flag
Note CTnIO [1:0] = 10
Active High Output select
86
CTnCCLR = 1; CTnM [1:0] = 00
CCRA=0
Resume
Stop
Counter Restart
Output Pin
Reset to Initial value
Output controlled by other
pin-shared function
BS86DH12C
CCRA = 0
Counter overflow
Time
No CTMnAF flag
generated on
CCRA overflow
Output does
not change
Output Inverts
when CTnPOL is high
October 26, 2018
Need help?
Do you have a question about the BS86DH12C and is the answer not in the manual?