304
CHAPTER 14 PWM TIMER
14.3 Control Status Register (PCNH, PCNL)
The control status register (PCNH, PCNL) is used to control the PWM timer or indicate
the timer status. Note that the register has a bit that cannot be rewritten during PWM
timer operation.
■
Configuration of Control Status Registers (PCNH, PCNL)
The configuration of the control status register (PCNH, PCNL) is shown below:
■
Bit Functions of Control Status Registers (PCNH, PCNL)
[bit 15] CNTE: Timer enable bit
This bit enables or disables the 16-bit decrementing counter.
[bit 14] STGR: Software trigger bit
Setting this bit to "1" enables a software trigger.
A read instruction always reads "0" from this bit.
[bit 13] MDSE: Mode select bit
This bit selects PWM operation that outputs continuous pulses or one-shot operation that
outputs a single pulse.
PCNH
bit
15
14
13
12
11
10
9
8
Address: ch0
0000E6
H
ch1 0000EE
H
CNTE STGR MDSE RTRG CKS1
CKS0 PGMS
ch2 0000F6
H
ch3 0000FE
H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0
0
0
0
0
0
0
PCNL
bit
7
6
5
4
3
2
1
0
Address: ch0
0000E7
H
ch1 0000EF
H
EGS1
EGS0
IREN
IRQF
IRS1
IRS0
POEN
OSEL
ch2 0000F7
H
ch3 0000FF
H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0
0
0
0
0
0
0
0
Attribute
Attribute
Initial value
Initial value
Rewriting enabled/disabled
during operation
Rewriting enabled/disabled
during operation
0
Disable (Initial value)
1
Enable
0
PWM operation (Initial value)
1
One-shot operation
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...