User Manual

Apollo3 Blue Datasheet
DS-A3-0p9p1 Page 608 of 909 2019 Ambiq Micro, Inc.
All rights reserved.
28 TMRB3POL 0x0 RW
Counter/Timer B3 output polarity.
NORMAL = 0x0 - The polarity of the TMRPINB3 pin is the same as the timer
output.
INVERTED = 0x1 - The polarity of the TMRPINB3 pin is the inverse of the
timer output.
27 TMRB3CLR 0x0 RW
Counter/Timer B3 Clear bit.
RUN = 0x0 - Allow counter/timer B3 to run
CLEAR = 0x1 - Holds counter/timer B3 at 0x0000.
26 TMRB3IE1 0x0 RW
Counter/Timer B3 Interrupt Enable bit for COMPR1.
DIS = 0x0 - Disable counter/timer B3 from generating an interrupt based on
COMPR1.
EN = 0x1 - Enable counter/timer B3 to generate an interrupt based on COM-
PR1.
25 TMRB3IE0 0x0 RW
Counter/Timer B3 Interrupt Enable bit for COMPR0.
DIS = 0x0 - Disable counter/timer B3 from generating an interrupt based on
COMPR0.
EN = 0x1 - Enable counter/timer B3 to generate an interrupt based on COM-
PR0
24:22 TMRB3FN 0x0 RW
Counter/Timer B3 Function Select.
SINGLECOUNT = 0x0 - Single count (output toggles and sticks). Count to
CMPR0B3, stop.
REPEATEDCOUNT = 0x1 - Repeated count (periodic 1-clock-cycle-wide
pulses). Count to CMPR0B3, restart.
PULSE_ONCE = 0x2 - Pulse once (aka one-shot). Count to CMPR0B3,
assert, count to CMPR1B3, deassert, stop.
PULSE_CONT = 0x3 - Pulse continously. Count to CMPR0B3, assert,
count to CMPR1B3, deassert, restart.
SINGLEPATTERN = 0x4 - Single pattern.
REPEATPATTERN = 0x5 - Repeated pattern.
CONTINUOUS = 0x6 - Continuous run (aka Free Run). Count continuously.
ALTPWN = 0x7 - Alternate PWM
Table 870: CTRL3 Register Bits
Bit Name Reset RW Description