PWM Output

<< Click to Display Table of Contents >>

Navigation:  nRF51 Target > Block References > On-chip Peripherals > TIM >

PWM Output

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

nrf51_pwm_output_block

What can be configured?

nrf51_pwm_output_mask

Configuration item

Selectable option/ Value

Description

Timer

0 | 1 | 2

Select timer module for source of PWM generation.

Frequency (Hz)

(Specify frequency in Hz)


Polarity

Positive | Negative


Pin

(Select pin for output)


Pin drive mode

High | Standard

High - pin drive max current 5mA

Standard - pin drive max 0.5mA

Pin type (Push-Pull/Open-Drain)

Push-Pull | Open-Drain


Sample time (sec)

(Specify block sample time)


Demo