| Electronic Components Datasheet Search |
|
M30620FCAFP Datasheet(PDF) 348 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M30620FCAFP Datasheet(HTML) 348 Page - Renesas Technology Corp |
|
348 / 615 page ![]() Timer A Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2-31 Setting PWM pulse's “H” level width Can be set to 000016 to FFFE16 b7 b0 (b15) (b8) b7 b0 Timer A0 register [Address 038716, 038616]TA0 Timer A1 register [Address 038916, 038816]TA1 Timer A2 register [Address 038B16, 038A16]TA2 Timer A3 register [Address 038D16, 038C16]TA3 Timer A4 register [Address 038F16, 038E16]TA4 Start count Setting count starts flag Count start flag [Address 038016] TABSR Timer A0 count start flag Timer A1 count start flag Timer A2 count start flag Timer A3 count start flag Timer A4 count start flag b7 b0 Setting event/trigger select bit One-shot start flag [Address 038216] ONSF Timer A0 event/trigger select bit 0 0 : Input on TA0IN is selected (Note 2) b7 b6 b7 b0 b7 b0 Timer A1 event/trigger select bit 0 0 : Input on TA1IN is selected (Note 2) b1 b0 Timer A2 event/trigger select bit 0 0 : Input on TA2IN is selected (Note 2) b3 b2 Timer A3 event/trigger select bit 0 0 : Input on TA3IN is selected (Note 2) b5 b4 Timer A4 event/trigger select bit 0 0 : Input on TA4IN is selected (Note 2) b7 b6 Note 2: Set the corresponding port direction register to “0”. Trigger select register [Address 038316] TRGSR 1 (Must always be “1” in PWM mode) Selecting PWM mode and functions Timer Ai mode register (i=0 to 4) [Address 039616 to 039A16] TAiMR (i=0 to 4) External trigger select bit 1 : Rising edge of TAiIN pin's input signal (Note 1) Selection of PWM mode b7 b0 11 11 1 16/8-bit PWM mode select bit 0 : Functions as a 16-bit pulse width modulator b7 b6 Count source select bit 0 0 : f1 0 1 : f8 1 0 : f32 11 : fC32 Trigger select bit 1 : Selected by event/trigger select register 0 Setting clock prescaler reset flag (This function is effective when fC32 is selected as the count source. Reset the prescaler for generating fC32 by dividing the XCIN by 32.) Clock prescaler reset flag [Address 038116] CPSRF Clock prescaler reset flag 0 : No effect 1 : Prescaler is reset (When read, the value is “0”) b7 b0 Note 1: Set the corresponding port direction register to “0”. Clearing timer Ai interrupt request bit Timer Ai interrupt control register [Address 005516 to 005916] TAiIC (i=0 to 4) Interrupt request bit b7 b0 0 Refer to 'Precaution for Timer A (pulse width modulation mode)' Count source period f(XIN) : 16MHZ f(XcIN) : 32.768kHZ b7 b6 Count source 62.5ns 500ns 2µs 976.56µs 00 01 10 11 f1 f8 f32 fC32 Figure 2.2.25. Set-up procedure of pulse width modulation mode, 16-bit PWM mode selected |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |