Information, diagnostic data | PWM output (0x808E, 0x809E)

For all PWM modules:

Module (ModuleIdent)

Valid values for n

"PWM_2xOUT" (0x202199, 0x202199)

n = 8 for PWM 1, n = 9 for PWM 2

"PWM_OUT_DO" (0x282199, 0x402199)

n = 8 for PWM 1

Index 80nE SlotGroup 3 (Slot 8, 9) PWM Internal data %C

Index (hex)

Name

Meaning

Data type

Flags

Default

80nE:0

SlotGroup 3
(Slot 8, 9)
PWM Internal data %C

Maximum subindex

UINT8

RO

0x19 (25dec)

80nE:01

Timer resolution

Reload value of the PWM timer.
The reload value is identical to the maximum resolution of the PWM unit

UINT16

RO

0x0000 (0dec)

80nE:02

Duty cycle

Current duty cycle of the PWM unit. 100% corresponds to the timer resolution (index 0x80nE:01)

UINT16

RO

0x0000 (0dec)