数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

M16C1N 数据表(PDF) 88 Page - Renesas Technology Corp

部件名 M16C1N
功能描述  RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
PDF  238 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  RENESAS [Renesas Technology Corp]
网页  http://www.renesas.com
标志 RENESAS - Renesas Technology Corp

M16C1N 数据表(HTML) 88 Page - Renesas Technology Corp

Back Button M16C1N Datasheet HTML 84Page - Renesas Technology Corp M16C1N Datasheet HTML 85Page - Renesas Technology Corp M16C1N Datasheet HTML 86Page - Renesas Technology Corp M16C1N Datasheet HTML 87Page - Renesas Technology Corp M16C1N Datasheet HTML 88Page - Renesas Technology Corp M16C1N Datasheet HTML 89Page - Renesas Technology Corp M16C1N Datasheet HTML 90Page - Renesas Technology Corp M16C1N Datasheet HTML 91Page - Renesas Technology Corp M16C1N Datasheet HTML 92Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 88 / 238 page
background image
Rev.1.00
Oct 20, 2004
page 76 of 222
M16C/1N Group
12. Timers
REJ09B0007-0100Z
1
0
0
Note 1: In the pulse output mode, the direction register of port P17 must be set to input.
Note 2: This bit should rewrite with inhibiting the CNTR0 interrupt. To use this interrupt, enable an interrupt after the
CNTR0 interrupt request bit is cleared with the MOV instruction.
Note 3: Output is set regardless of the setting of the direction register of port P30.
b7
b6
b5 b4
b3
b2
b1
b0
Timer X mode register
TXMOD0
TXMOD1
Operation mode
select bit 0, 1
(Note 2)
0 1 : Pulse output mode (Note 1)
R0EDG
CNTR0 polarity
switching bit (Note 2)
0 : Output starts at "H" (Interrupt at rising edge)
1 : Output starts at "L" (Interrupt at falling edge)
TXS
Timer X count
start flag
0 : Stops counting
1 : Starts counting
TXOCNT
P30/TXOUT
select bit
Operation mode
select bit 2
TXMOD2
0 : Set to "0" in pulse output mode
0 : Port P30
1 : TXOUT output (Note 3)
Symbol
TXMR
Address
008B16
When reset
0016
RW
RW
RW
RW
RW
RW
RW
RW
RW
Function
Bit name
Bit symbol
b1 b0
TXEDG
Effectual edge
reception flag
TXUND
Timer X under
flow flag
Invalid in pulse output mode.
When write, set "0". When read, this contents
is indeterminate.
Invalid in pulse output mode.
When write, set "0". When read, this contents
is indeterminate.
1
(n+1) X (m+1)
Item
Specification
Count source
f1, f8, f32, fC32
Count operation
• Down count
• When the timer underflows, it reloads the reload register contents before continuing counting
Divide ratio
n: Set value of Prescaler X, m: Set value of Timer X
Count start condition
Count start flag is set (=1)
Count stop condition
Count start flag is reset (=0)
Interrupt request generation timing • When Timer X underflows [Timer X interruption]
• Rising (R0EDG=0) or falling (R0EDG=1) of CNTR0 output [CNTR0 interruption]
CNTR0 pin function
Pulse output
TXOUT pin function
Programmable I/O port or pulse output (Inverted waveform of the pulse output from the
CNTR0 pin)
Read from timer
Count value can be read out by reading Timer X register.
Same applies to Prescaler X register.
Write to timer
When a value is written to Timer X register, it is written to both reload register and counter.
Same applies to Prescaler X register.
Select function
• Pulse output function
Each time the timer underflows, the TXOUT pin’s polarity is reversed
• CNTR0 polarity switching function
The polarity level at starting of pulse output can be selected to be "High" or "Low" with software.
12.2.2 Pulse Output Mode
In this mode, the timer counts an internally generated count source, and outputs from the CNTR0 pin
a pulse whose polarity is inverted each time the timer underflows.
(See Table 12.4) Figure 12.7 shows Timer X mode register in pulse output mode.
Table 12.4 Specifications of pulse output mode
Figure 12.7 Timer X mode register in pulse output mode



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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