| Electronic Components Datasheet Search |
|
M30201 Datasheet(PDF) 82 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M30201 Datasheet(HTML) 82 Page - Renesas Technology Corp |
|
82 / 415 page ![]() Mitsubishi microcomputers M30201 Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Timer X 69 Item Specification Count source • External signals input to TXiINOUT pin (effective edge can be selected by software) • TB1 overflow, TA0 overflow, TXi overflow Count operation • Down count • When the timer underflows, it reloads the reload register contents before continuing counting (Note) Divide ratio 1/ (n + 1) n : Set value Count start condition Count start flag is set (= 1) Count stop condition Count start flag is reset (= 0) Interrupt request generation timing The timer underflows TXiINOUT pin function Programmable I/O port, count source input or pulse output Read from timer Count value can be read out by reading timer Xi register Write to timer • When counting stopped When a value is written to timer Xi register, it is written to both reload register and counter • When counting in progress When a value is written to timer Xi register, it is written to only reload register (Transferred to counter at next reload time) Select function • Free-run count function Even when the timer underflows, the reload register content is not reloaded to it • Pulse output function Each time the timer underflows, the TXiINOUT pin’s polarity is reversed Note: This does not apply when the free-run function is selected. (2) Event counter mode In this mode, the timer counts an external signal or an internal timer’s overflow. (See Table 1.21.) Figure 1.61 shows the timer Xi mode register in event counter mode. Table 1.21. Timer specifications in event counter mode (when not processing two-phase pulse signal) Figure 1.61. Timer Xi mode register in event counter mode Timer Xi mode register Note 1: Count source is selected by event/trigger select bit(address 038316) in event counter mode. Note 2: Set the corresponding port direction register to “1” (output mode). TXiINOUT pin input is not selected as count source when pulse output function is selected. Note 3: This bit is valid when only counting an external signal. Symbol Address When reset TXiMR(i = 0 to 2) 039716 to 039916 0016 W R b7 b6 b5 b4 b3 b2 b1 b0 Operation mode select bit 0 1 : Event counter mode (Note 1) b1 b0 TMOD0 MR0 Pulse output function select bit 0 : Pulse is not output (TXiINOUT pin is a normal port pin) 1 : Pulse is output (Note 2) (TXiINOUT pin is a pulse output pin) Count polarity select bit (Note 3) MR2 MR1 MR3 0 (Must always be “0” in event counter mode) TCK0 Count operation type select bit 01 0 0 : Counts external signal's falling edge 1 : Counts external signal's rising edge 0 : Reload type 1 : Free-run type Bit symbol Bit name Function RW TCK1 TMOD1 Invalid in event counter mode. Can be “0” or “1”. Invalid in event counter mode. Can be “0” or “1”. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | 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 |