欢迎访问ic37.com |
会员登录 免费注册
发布采购

EM77950 参数 Datasheet PDF下载

EM77950图片预览
型号: EM77950
PDF下载: 下载PDF文件 查看货源
内容描述: BB控制器 [BB Controller]
分类和应用: 控制器
文件页数/大小: 102 页 / 928 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM77950的Datasheet PDF文件第85页浏览型号EM77950的Datasheet PDF文件第86页浏览型号EM77950的Datasheet PDF文件第87页浏览型号EM77950的Datasheet PDF文件第88页浏览型号EM77950的Datasheet PDF文件第90页浏览型号EM77950的Datasheet PDF文件第91页浏览型号EM77950的Datasheet PDF文件第92页浏览型号EM77950的Datasheet PDF文件第93页  
EM77950  
BB Controller  
14.2.2 TCC Control Registers  
As the TCC mode is defined, the related registers involved in this operation are shown  
below:  
PRC (0x0F): Prescale counter.  
TCC (0x10): Timer clock/counter.  
INTF (0x11): Interrupt flag.  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
ADIF  
RBFIF  
PWM1IF PWM0IF  
EINT1F  
EINT0F  
TCCOF  
FRCOF  
PRIE (0x80): Peripherals enable control  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
SPIE  
-
BBE  
ADE  
PWM1E  
PWM0E  
TCCE  
FRCE  
INTE (0x81): Interrupt enable control  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
GIE  
RBFIE  
PWM1IE PWM0IE EINT1E  
EINT0E  
TCCOE  
FRCOE  
TCCC (0x93): Timer clock/counter control.  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
-
-
-
-
TCCS0  
PS2  
PS1  
PS0  
14.2.3 TCC Programming Procedures/Steps  
(1) Load TCCC with the prescaler and TCC clock source.  
(2) Load TCC with the TCC overflow period.  
(3) Enable the interrupt function by setting TCCOE in the INTE register, if required.  
(4) Enable the TCC function by setting the TCCE bit in the PRIE register.  
(5) Wait for either the interrupt flag to be set (TCCOF) or the TCC interrupt to occur.  
(6) The following formula describes how to calculate the TCC overflow period:  
1
TCC Timer =  
(
0×100 TCC × Prescaler  
)
ClockSource  
where Clock Source = Fosc or IRC  
Product Specification (V1.0) 10.09.2007  
(This specification is subject to change without further notice)  
81  
 
 复制成功!