| 전자부품 데이터시트 검색엔진 |
|
M32C/8A 데이터시트(PDF) 178 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M32C/8A 데이터시트(HTML) 178 Page - Renesas Technology Corp |
|
178 / 372 page ![]() M32C/8A Group 15. Timers (Timer A) Rev.1.00 Jul 15, 2007 Page 161 of 352 REJ09B0385-0100 15.1.3 One-Shot Timer Mode When a trigger occurs, the counter decrements until underflows. Then, the counter is reloaded and stops until the next trigger occurs. Table 15.6 lists specifications of one-shot timer mode. Figure 15.18 shows a one-shot timer mode operation. Table 15.6 Specifications of One-Shot Timer Mode NOTES: 1. Bits CNT3 to CNT0 in the TCSPR register select no division (n = 0) or divide-by-2n (n = 1 to 15). 2. Wait for one count source cycle or more to write after the count starts. Item Specification Count source f1, f8, f2n(1), fC32 Count operation • Counter decrements When the counter reaches 0000h, the counter is reloaded and stops until the next trigger occurs. If a trigger occurs while counting, the contents of the reload register are reloaded into the counter and the count continues. Number of counting n times n: setting value of the TAi register (i = 0 to 4), 0000h to FFFFh (but the counter does not run if n = 0000h) Count start condition A trigger, selectable from the following, occurs while the TAiS bit in the TABSR register is set to 1 (count starts): • the TAiOS bit in the ONSF register is set to 1 (timer starts) • an external trigger is applied to TAiIN pin • timer B2 overflows or underflows, • timer Aj overflows or underflows (j = i - 1, except j = 4 if i = 0), • timer Ak overflows or underflows (k = i + 1, except k = 0 if i = 4) Count stop condition • After the counter reaches 0000h and the counter value is reloaded • When the TAiS bit is set to 0 (count stops) Interrupt request generation timing When the counter reaches 0000h TAiIN pin function Trigger input TAiOUT pin function Pulse output Read from timer A read from the TAi register returns undefined value Write to timer • A write to the TAi register while the count is stopped: The value is written to both the reload register and the counter. • A write to the TAi register while counting: The value is written to the reload register (It is transferred to the counter at the next reload timing).(2) Selectable function Pulse output function “L” is output while the count stops. “H” is output while counting. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |