| поискавой системы для электроныых деталей |
|
R8C2K датащи(PDF) 209 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C2K датащи(HTML) 209 Page - Renesas Technology Corp |
|
209 / 471 page ![]() R8C/2K Group, R8C/2L Group 16. Timers Rev.1.10 Dec 21, 2007 Page 192 of 450 REJ09B0406-0110 16.3.4 Timer Mode (Input Capture Function) This function measures the width or period of an external signal. An external signal input to the TRCIOj (j = A, B, C, or D) pin acts as a trigger for transferring the contents of the TRC register (counter) to the TRCGRj register (input capture). The input capture function, or any other mode or function, can be selected for each individual pin. The TRCGRA register can also select fOCO128 signal as input-capture trigger input. Table 16.16 lists the Specifications of Input Capture Function, Figure 16.44 shows a Block Diagram of Input Capture Function, Figures 16.45 and 16.46 show the registers associated with the input capture function, Table 16.17 lists the Functions of TRCGRj Register when Using Input Capture Function, and Figure 16.47 shows an Operating Example of Input Capture Function. j = A, B, C, or D Table 16.16 Specifications of Input Capture Function Item Specification Count source f1, f2, f4, f8, f32, fOCO40M, or external signal (rising edge) input to TRCCLK pin Count operation Increment Count period 1/fk × 65,536 fk: Count source frequency Count start condition 1 (count starts) is written to the TSTART bit in the TRCMR register. Count stop condition 0 (count stops) is written to the TSTART bit in the TRCMR register. The TRC register retains a value before count stops. Interrupt request generation timing • Input capture (valid edge of TRCIOj input or fOCO128 signal edge) • The TRC register overflows. TRCIOA, TRCIOB, TRCIOC, and TRCIOD pin functions Programmable I/O port or input capture input (selectable individually by pin) INT0 pin function Programmable I/O port or INT0 interrupt input Read from timer The count value can be read by reading TRC register. Write to timer The TRC register can be written to. Select functions • Input capture input pin select One or more of pins TRCIOA, TRCIOB, TRCIOC, and TRCIOD • Input capture input valid edge selected Rising edge, falling edge, or both rising and falling edges • Buffer operation (Refer to 16.3.3.2 Buffer Operation.) • Digital filter (Refer to 16.3.3.3 Digital Filter.) • Input-capture trigger selected fOCO128 can be selected for input-capture trigger input of the TRCGRA register. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |