MAXQ3108 Maxim Integrated Products, MAXQ3108 Datasheet - Page 47

no-image

MAXQ3108

Manufacturer Part Number
MAXQ3108
Description
Dual-Core Microcontroller
Manufacturer
Maxim Integrated Products
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MAXQ3108-FFN
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
MAXQ3108-FFN+
Manufacturer:
Maxim Integrated Products
Quantity:
135
www.DataSheet4U.com
TB0CN.5: TBOE
TB0CN.6: EXFB
TB0CN.7: TFB
TB0CN.[10:8]: TBPS[2:0]
TB0CN.11.TBCR
TB0CN.12:TBCS
TB0CN.[14:13]: Reserved
TB0CN.15: C/TB
TB0V (0Bh, 04h)
Initialization:
Read/Write Access:
TB0V.[15:0]:
______________________________________________________________________________________
Low-Power, Dual-Core Microcontroller
Timer B Output Enable. Setting this bit to 1 enables the clock output function on the TBA pin if
C/TB = 0. Timer B rollovers do not cause interrupts. Clearing this bit to 0 allows the TBA pin to
function as either a standard port pin or a counter input for timer B.
External Timer B Trigger Flag. When configured as a timer (C/TB = 0), a negative transition on the
TBB pin causes this flag to be set if (CP/RLB = EXENB = 1) or (CP/RLB = DCEN = 0 and EXENB =
1) or (CP/RLB = 0 and EXENB = 1 and TBCS:TBCR<>00b). When configured in any of these ways,
this flag can be set independent of the state of the TRB bit (e.g., EXFB can still be set on detection
of a negative edge when TRB = 0). When CP/RLB = 0 and DCEN = 1 and TBCS:TBCR = 00b, EXFB
toggles whenever timer B underflows or overflows.
An overflow/underflow condition is the same as described in the TFB bit description. In this mode,
EXFB can be used as the 17th timer bit and does not cause an interrupt. If set by a negative
transition, this flag must be cleared by software. Setting this bit to 1 forces a timer interrupt if
enabled.
Timer B Overflow Flag. This bit is set when timer B overflows from TBR or the count is equal to
0000h in down-count mode. It must be cleared by software.
Timer B Clock Prescaler Bits 2:0. The TBPS[2:0] bits select the clock prescaler applied to the
system clock input to timer B. The TBPS[2:0] bits should be configured by the user when the timer
is stopped (TRB = 0). While hardware does not prevent changing the TBPS[2:0] bits when the timer
is running, the resultant behavior is indeterministic.
TBB Pin Output Reset Mode
TBB Pin Output Set Mode. These mode bits define whether the PWM-mode output function is
enabled on the TBB pin, the initial output starting state, and what compare-mode output function is
in effect. Note that the TBB pin still has certain input functionality when the PWM output function is
enabled.
Reserved. Reads return 0.
Counter/Timer Select. This bit determines whether timer B functions as a timer or counter. Setting
this bit to 1 causes timer B to count negative transitions on the TBA pin. Clearing this bit to 0
causes timer B to function as a timer. The speed of timer B is determined by the TBPS[2:0] bits of
TBCN.
Timer B 0 Value
This register is cleared to 0000h on all forms of reset.
Unrestricted read/write.
Timer B Value Bits 15:0. This register is used to load and read the 16-bit timer B value.
Special Function Register Bit Descriptions (continued)
TBPS[2:0]
000
001
010
011
100
101
11x
Timer B Clock = System Clock/2
(2 x TBPS[2:0])
TIMER B INPUT CLOCK
Sysclk/1024
Sysclk/256
Sysclk/16
Sysclk/64
Sysclk/1
Sysclk/4
Sysclk/1
47

Related parts for MAXQ3108