[][src]Module lpc176x_5x::pwm1

Pulse Width Modulators (PWM1)

Modules

ccr

Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated for a capture event.

cr

PWM Control Register. Enables PWM outputs and selects either single edge or double edge controlled PWM outputs.

ctcr

Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.

ir

Interrupt Register. The IR can be written to clear interrupts, or read to identify which PWM interrupt sources are pending.

ler

Load Enable Register. Enables use of updated PWM match values.

mcr

Match Control Register. The MCR is used to control whether an interrupt is generated and if the PWM counter is reset when a Match occurs.

mr

Match Register. Match registers are continuously compared to the PWM counter in order to control PWM output edges.

pc

Prescale Counter. Prescaler for the main PWM counter.

pcr

PWM Control Register. Enables PWM outputs and selects either single edge or double edge controlled PWM outputs.

pr

Prescale Register. Determines how often the PWM counter is incremented.

tc

Timer Counter. The 32 bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR.

tcr

Timer Control Register. The TCR is used to control the Timer Counter functions.

Structs

CCR

Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated for a capture event.

CR

PWM Control Register. Enables PWM outputs and selects either single edge or double edge controlled PWM outputs.

CTCR

Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.

IR

Interrupt Register. The IR can be written to clear interrupts, or read to identify which PWM interrupt sources are pending.

LER

Load Enable Register. Enables use of updated PWM match values.

MCR

Match Control Register. The MCR is used to control whether an interrupt is generated and if the PWM counter is reset when a Match occurs.

MR

Match Register. Match registers are continuously compared to the PWM counter in order to control PWM output edges.

PC

Prescale Counter. Prescaler for the main PWM counter.

PCR

PWM Control Register. Enables PWM outputs and selects either single edge or double edge controlled PWM outputs.

PR

Prescale Register. Determines how often the PWM counter is incremented.

RegisterBlock

Register block

TC

Timer Counter. The 32 bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR.

TCR

Timer Control Register. The TCR is used to control the Timer Counter functions.