Example Of Setting A Register - Fujitsu MB86R02 Jade-D Hardware Manual

Graphics controller
Hide thumbs Also See for MB86R02 Jade-D:
Table of Contents

Advertisement

MB86R02 'Jade-D' Hardware Manual V1.64
25.8

Example of setting a register

This section provides an example of a register's initial setting.
Set PWMx base clock register (PWMxBCR)
Set PWMx pulse width register (PWMxTPR)
Set PWMx phase register (PWMxPR)
Set PWMx duty register (PWMxDR)
Set PWMx status register (PWMxCR)
Set PWMx activation register (PWMxSR)
No
Set each register in the following condition:
• PWMx base clock register ≥ 1
• PWMx phase register ≥ 1
• PWMx duty register ≥ 1
• PWMx phase register + PWMx duty register ≤ PWMx pulse width register ≥ 2
(The next phase setting after duty operation is omitted)
Power-on
Output 1 pulse cycle
PWMx interrupt register's
INTREP bit = 01
B
Yes
Interrupt occurs
PWMxSR start bit = 1
No
End
Set polarity (POL) and one-shot (ONESHOT)
pulses
PWM is activated
Yes
PWM stops with negating start bit (PWMxSR
START bit) at completing pulse cycle, not
immediately after negating the start bit
25-13

Advertisement

Table of Contents
loading

Table of Contents