English
Language : 

Z8FMC16100 Datasheet, PDF (99/402 Pages) Zilog, Inc. – Z8 Encore-R Motor Control Flash MCUs
Z8FMC16100 Series Flash MCU
Product Specification
77
BITS
FIELD
RESET
R/W
ADDR
Table 45. PWM Reload Low Byte Register (PWMRL)
7
6
5
4
3
2
1
0
PWMRL
FF
R/W
F2FH
PWMRH and PWMRL—PWM Reload Register High and Low
These two bytes form the 12-bit Reload value, {PWMRH[3:0], PWMRL[7:0]}. This value
sets the PWM period.
PWM 0–2 Duty Cycle High and Low Byte Registers
The PWM 0–2 H/L Duty Cycle High and Low Byte (PWMxDH and PWMxDL) registers,
shown in Table 46 and Table 47, set the duty cycle of the PWM signal. This 14-bit signed
value is compared to the PWM count value to determine the PWM output. Reads from
these registers always return the values from the temporary holding registers. The PWM
duty cycle value is not used by the PWM generator until the next PWM reload event
occurs.
PWM Duty Cycle Value
PWM Duty Cycle =
PWM Reload Value
Writing a negative value (DUTYH[7] = 1) forces the PWM to be OFF for the full PWM
period. Writing a positive value greater than the 12-bit PWM reload value forces the PWM
to be ON for the full PWM period.
BITS
FIELD
RESET
R/W
ADDR
Table 46. PWM 0-2 H/L Duty Cycle High Byte Register (PWMHxDH,PWMLxDH)
7
6
5
4
3
2
1
0
SIGN
Reserved
DUTYH
0
00
0_0000
R/W
R/W
R/W
F30H, F32H, F34H, F36H, F38H, F3AH
PS024604-1005
PRELIMINARY
PWM 0–2 Duty Cycle High and Low Byte