Timer B Control Register 0 (Tmbcon0) - Lapis ML610Q111 User Manual

Table of Contents

Advertisement

8.2.17

Timer B Control Register 0 (TMBCON0)

Address: 0F8EEH
Access: R/W
Access size: 8/16 bits
Initial value: 00H
7
TMBCON0
TBOST
R/W
R/W
Initial value
0
TMBCON0 is a special function (SFR) to control the Timer B.
Rewrite TMBCON0 while the Timer B is stopped (in 8-bit timer mode, TBSTAT and TBRUN of the TMBCON1 are "0",
in 16-bit timer mode, TASTAT and TARUN of the TMACON1 are "0").
[Description of Bits]
• TBCS2, TBCS1, TBCS0 (bits 2 to 0)
The TBCS2, TBCS1, TBCS0 bits are used to select the operation clock of Timer B. LSCLK, HTBCLK, 1/64 HTBCLK,
1/16 HTBCLK, 1/8 HTBCLK, 1/4 HTBCLK, 1/2 HTBCLK, and PLLCLK can be selected.
In cases where the 16-bit timer mode has been selected by setting TABM16 of TMACON0 to "1", the values of TBCS2,
TBCS1, TBCS0 are invalid.
TBCS2
TBCS1
0
0
0
0
1
1
1
1
• TBOST (bit 7)
The TBOST bit is used to select the operating mode of Timer B. Continuous mode and one shot mode can be selected.
In cases where the 16-bit timer mode has been selected by setting TABM16 of TMACON0 to "1", the value of TBOST is
invalid.
TBOST
0
Continuous mode (initial value)
1
One shot mode
FEUL610Q111
6
5
0
0
TBCS0
LSCLK (initial value)
0
0
HTBCLK
0
1
1/64 HTBCLK
1
0
1/16 HTBCLK
1
1
1/8 HTBCLK
0
0
1/4 HTBCLK
0
1
1/2 HTBCLK
1
0
PLLCLK
1
1
ML610Q111/ML610Q112 User's Manual
4
3
TBCS2
0
0
Description
Description
Chapter 8 Timers
2
1
TBCS1
TBCS0
R/W
R/W
R/W
0
0
0
0
8-21

Advertisement

Table of Contents
loading

Related Products for Lapis ML610Q111

This manual is also suitable for:

Ml610q112

Table of Contents