参数资料
型号: S1C17651B00E100
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
文件页数: 211/216页
文件大小: 1784K
代理商: S1C17651B00E100
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页当前第211页第212页第213页第214页第215页第216页
12 16-BIT PWM TIMER (T16A2)
S1C17651 TECHNICAL MANUAL
Seiko Epson Corporation
12-5
4.1.2 Capture Trigger Edge Selection
Table 12.
CAPATRG[1:0]/ CAPBTRG[1:0]
Trigger edge
0x3
Falling edge and rising edge
0x2
Falling edge
0x1
Rising edge
0x0
Not triggered
(Default: 0x0)
When a specified trigger edge is input during counting, the current counter value is loaded to the capture regis-
ter. At the same time the capture A or capture B interrupt flag is set and the interrupt signal of the timer channel
is output to the ITC if the interrupt has been enabled. This interrupt can be used to read the captured data from
the T16A_CCAx or T16A_CCBx register. For example, external event cycles and pulse widths can be measured
from the difference between two captured counter values read.
If the captured data is overwritten by the next trigger when the capture A or capture B interrupt flag has already
been set, the overwrite interrupt flag will be set. This interrupt can be used to execute an overwrite error han-
dling. To avoid occurrence of unnecessary overwrite interrupt, the capture A or capture B interrupt flag must be
reset after the captured data has been read from the T16A_CCAx or T16A_CCBx register.
Notes: The correct captured data may not be obtained if the captured data is read at the same time
the next value is being captured. Read the capture register twice to check if the read data is
correct as necessary.
To capture counter data properly, both the High and Low period of the CAPx trigger signal
must be longer than the source clock cycle time.
The setting of CAPATRG[1:0] or CAPBTRG[1:0] is ineffective in comparator mode. No counter capturing op-
eration will be performed even if a trigger edge is specified.
The capture mode cannot generate/output the TOUT signal as no compare signal is generated.
Repeat Mode and One-Shot Mode
12.4.2
T16A2 features two count modes: repeat mode and one-shot mode. The count mode is selected using TRMD /
T16A_CTLx register.
Repeat mode (TRMD = 0, default)
Setting TRMD to 0 sets the corresponding counter to repeat mode.
In this mode, once the count starts, the counter continues running until stopped by the application program. The
counter continues the count even if the counter returns to 0 due to a counter overflow. The counter should be set
to this mode to generate periodic interrupts at desired intervals or to generate a timer output waveform.
One-shot mode (TRMD = 1)
Setting TRMD to 1 sets the corresponding counter to one-shot mode.
In this mode, the counter stops automatically as soon as the compare B signal is generated. The counter should
be set to this mode to set a specific wait time or for pulse width measurement.
Normal Clock Mode and Half Clock Mode
12.4.3
T16A2 supports half clock mode to control the duty ratio of the PWM output waveform with high accuracy. In half
clock mode, T16A2 uses the dual-edge counter, which counts at the rising and falling edges of the count clock,
to compare with the compare A register. This makes it possible to control the duty ratio with double accuracy as
compared to normal clock mode.
Use HCM/T16A_CTLx register to select half clock mode.
Normal clock mode (HCM = 0, default)
In normal clock mode, T16A2 generates a compare A signal when the T16A_TCx register value matches the
T16A_CCAx register.
相关PDF资料
PDF描述
S1C17651B00E10A 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10C 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10E 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10H 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
S1C17651B00E10K 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
相关代理商/技术参数
参数描述
S1C17653 制造商:EPSON 制造商全称:EPSON 功能描述:16-bit Single Chip Microcontroller
S1C17701 制造商:EPSON 制造商全称:EPSON 功能描述:CMOS 16-bit Single Chip Microcontroller
S1C17701D101000 制造商:Seiko Instruments Inc (SII) 功能描述:EPSON 16BIT MCU
S1C17701F00B100 功能描述:16位微控制器 - MCU 16-bit 64KB Flash LCD 56x32 RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
S1C17701F00E100 功能描述:16位微控制器 - MCU 16-bit 64KB Flash LCD 56x32 RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT