258
CHAPTER 16 8/16-BIT PPG
Table 16.3-2 Bit Function Description of the PPG1 Operation Mode Control Register
Bit name
Function
bit15
PEN1:
Operation enable bit
When set to "1", this bit enables the counter operation of the PPG. When operation
is disabled but output is enabled (bit13), a "L" level is maintained at the output.
bit13
PE10:
PPG10 pin output
enable bit
When set to "1", this bit enables the pulse output. For MB90390 Series, the pulse
signal is output to the "PPG10" external pin. When disabled, the pin can be used as
general-purpose port.
bit12
PIE1:
PPG interrupt enable
bit
While this bit is "1", an interrupt request is issued as soon as PUF1 is set to "1". No
interrupt request is issued while this bit is set to "0".
bit11
PUF1:
PPG counter
underflow bit
In 8-bit PPG 2-channel mode or 8-bit pre 8-bit PPG mode, this bit is set to
"1" when an underflow occurs as a result of the ch.0 counter value becoming from
"00
H
" to "FF
H
". In 16-bit PPG mode, this bit is set to "1" when an underflow occurs
as a result of the Channel 0 and 1 counter value changing from "0000
H
" to "FFFF
H
".
To set this bit to "0", write "0". Writing "1" to this bit has not effect. Upon a read
operation during a read-modify-write instruction, "1" is read.
bit10, bit9
MD1, MD0:
PPG count mode
These bits select the PPG timer operation mode as described in Figure 16.3-2. Do
not set "10
B
" in these bits.
To write "01
B
" to these bits, ensure that "01
B
" is not written to the PEN0 bit of
PPGC0 or PEN1 bit of PPGC1. Write "11
B
" or "00
B
" in both the PEN0 and PEN1
bits simultaneously.
To write "11
B
" to these bits, update PPGC0 and PPGC1 by word transfer and write
"11
B
" or "00
B
" to both the PEN0 and PEN1 bits simultaneously.
bit8
Reserved bit.
This is a reserved bit. When setting PPGC1, always write "1" to this bit.
Содержание MB90390 Series
Страница 2: ......
Страница 4: ......
Страница 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Страница 18: ...xiv ...
Страница 132: ...104 CHAPTER 5 CLOCKS ...
Страница 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Страница 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Страница 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Страница 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Страница 274: ...246 CHAPTER 15 WATCH TIMER ...
Страница 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Страница 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 364: ...336 CHAPTER 19 UART0 UART1 ...
Страница 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Страница 432: ...404 CHAPTER 20 UART2 UART3 ...
Страница 482: ...454 CHAPTER 22 SERIAL I O ...
Страница 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Страница 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Страница 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Страница 722: ...694 APPENDIX ...
Страница 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 740: ......