Download M30201 Group USER`S MANUAL
Transcript
Mitsubishi microcomputers M30201 Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Timer A Selecting timer mode and functions b7 b0 0 0 1 0 Timer A0 mode register [Address 039616] TA0MR 0 Selection of timer mode Pulse output function select bit (Note) 1 : Pulse is output (TA0OUT pin is a pulse output pin) Gate function select bit b4 b3 00: 01: Gate function not available (TA0IN pin is a normal port pin) 0 (Must always be “0” in timer mode) Count source select bit b7 b6 b7 b6 0 0 : f1 0 1 : f8 1 0 : f32 1 1 : fC32 Count source period Count source f(XIN) : 10MHZ f(XcIN) : 32.768kHZ 0 0 f1 100ns 0 1 f8 800ns 1 0 f32 1 1 fC32 3.2µs 976.56µs Note: Set the corresponding port direction register to “1” (output mode). Setting divide ratio (b15) b7 (b8) b0 b7 b0 Timer A0 register [Address 038716, 038616] TA0 Can be set to 000016 to FFFF16 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.) b7 b0 Clock prescaler reset flag [Address 038116] CPSRF Clock prescaler reset flag 0 : No effect 1 : Prescaler is reset (When read, the value is “0”) Setting count start flag b7 b0 Count start flag [Address 038016] TABSR Timer A0 count start flag Start count Figure 2.2.11. Set-up procedure of timer mode, pulse output function selected 185
Related documents
M30201 Group User`s manual (tentative)
Errata to R32C/156 Group User`s Manual: Hardware
USER`S MANUAL
Differences between M16C/62P and M16C/65C
RA75X ASSEMBLER PACKAGE PC-9800 Series (MS
Descriptions changed in M16C/5L Group, M16C/56 Group User`s
Using the M16C/62 Analog to Digital Converter in Single Sweep Mode
Paper - Asee peer logo
M3T-PD308SIM V.3.20/M3T-PD30SIM V.5.20 User`s Manual
Using the M16C/62 Analog to Digital Converter in Repeat Sweep
Renesas M16C/6NK User's Manual
View - Element14