msp430F4152之Basic Timer1(翻译)

如有错误,请指正。

The Basic Timer1 module is composed of two independent cascadable 8-bit timers. This chapter describes the Basic Timer1. Basic Timer1 is implemented in all MSP430x4xx devices.

基本定时器1模块由两个独立的8bit定时器级联组成。本章描述BT1。BT1在MSP430x4xx器件中实现。

 

 

Topic (主题)Page(页码)

 


13.1 Basic Timer1 Introduction 13-2

13.2 Basic Timer1 Operation 13-4  

13.3 Basic Timer1 Registers 13-6 

13.1BT1介绍

13.2BT1操作

13.3BT1寄存器

 

 

13.1 Basic Timer1 Introduction
The Basic Timer1 supplies LCD timing and low frequency time intervals. The Basic Timer1 is two independent 8-bit timers that can also be cascaded to form one 16-bit timer function.

13.1基本定时器1介绍

基本定时器1提供LCD定时和低频率定时间隔。基本定时器1有两个独立的8bit定时器。这样同样能串联成一个16bit的定时器功能。

 

 

Some uses for the Basic Timer1 include:
 Real-time clock (RTC) function
 Software time increments

BT1使用的介绍

实时时钟功能

软件定时时间增量(这里有没有更好的翻译)

 


Basic Timer1 features include:
 Selectable clock source
 Two independent, cascadable 8-bit timers
 Interrupt capability
 LCD control signal generation

BT1特点介绍:

选择时钟源

两个独立的可级联的8BIT定时器

具有中断能力

LCD控制信号产生

 

The Basic Timer1 block diagram is shown in Figure 13−1.

BT1时钟框图如图13.1(可以自己去网上搜)

 

 

Note: Basic Timer1 Initialization
The Basic Timer1 module registers have no initial condition. These registers
must be configured by user software before use.

注意:BT1初始化

BT1模块寄存器没有初始条件。这些寄存器使用前必须先用软件配置。

 

 

13.2 Basic Timer1 Operation
The Basic Timer1 module can be configured as two 8-bit timers or one 16-bit
timer with the BTCTL register. The BTCTL register is an 8-bit read/write
register. Any read or write access must use byte instructions. The Basic
Timer1 controls the LCD frame frequency with BTCNT1.

13.2BT1操作

BT1模块通过BTCTL寄存器能被配置成两个8位定时器或一个16位定时器。BTCTL寄存器时一个8位读写寄存器。

任何读或写地址鼻血使用数元组指令。BT1通过BTCNT1控制LCD刷新频率。

 

 

13.2.1 Basic Timer1 Counter One
The Basic Timer1 counter one, BTCNT1, is an 8-bit timer/counter directly accessible by software. BTCNT1 is incremented with ACLK and provides the frame frequency for the LCD controller. BTCNT1 can be stopped by setting the  BTHOLD and BTDIV bits.

13.2.1基本定时器1控制器1

BT1控制器1,BTCNT1是一个8位定时器/计数器直接由软件来访问。BTCNT1是为ACLK和为LCD控制器提供帧频增量的。BTCNT1通过BTHOLD和BTDIV位控制停止。

 

13.2.2 Basic Timer1 Counter Two
The Basic Timer1 counter two, BTCNT2, is an 8-bit timer/counter directly accessible by software. BTCNT2 can be sourced from ACLK or SMCLK, or from ACLK/256 when cascaded with BTCNT1. The BTCNT2 clock source is
selected with the BTSSEL and BTDIV bits. BTCNT2 can be stopped to reduce power consumption by setting the HOLD bit. BTCNT2 sources the Basic Timer1 interrupt, BTIFG. The interrupt interval is selected with the BTIPx bits

BT1控制器2,BTCNT2,是一个8位定时器/计数器直接由软件来访问。当BTCNT1级联时BTCNT2可以设置时钟源ACLK、SMCLK、ACLK/256(这里不通)。BTCNT2时钟源可由BTSSEL和BTDIV位来选择。BTCNT2可以通过设置HOLD位来停止BT1来降低功耗。

 

中断间隔由BTIPx位来选择。

 

(待续。。。)

 

 

Note: Reading or Writing BTCNT1 and BTCNT2
When the CPU clock and counter clock are asynchronous, any read from BTCNT1 or BTCNT2 may be unpredictable. Any write to BTCNT1 or BTCNT2 takes effect immediately.

注意:

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值