Auto Page CPX-3600 Especificaciones Pagina 96

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 243
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 95
PWM auto-reload timer (ART) ST72321xx-Auto
96/243 Doc ID 13829 Rev 1
12.3.5 Duty cycle registers (PWMDCRx)
A PWMDCRx register is associated with the OCRx register of each PWM channel to
determine the second edge location of the PWM signal (the first edge location is common to
all channels and given by the ARTARR register). These PWMDCR registers allow the duty
cycle to be set independently for each PWM channel.
12.3.6 Input capture control / status register (ARTICCSR)
PWMDCRx Reset value: 0000 0000 (00h)
76543210
DC[7:0]
RW
Table 52. PWMDCRx register description
Bit Name Function
7:0 DC[7:0]
Duty Cycle Data
These bits are set and cleared by software.
ARTICCSR Reset value: 0000 0000 (00h)
76543210
Reserved CS[2:1] CIE[2:1] CF[2:1]
-RWRWRW
Table 53. ARTICCSR register description
Bit Name Function
7:6 - Reserved, always read as 0.
5:4 CS[2:1]
Capture Sensitivity
These bits are set and cleared by software. They determine the trigger event
polarity on the corresponding input capture channel.
0: Falling edge triggers capture on channel x
1: Rising edge triggers capture on channel x
3:2 CIE[2:1]
Capture Interrupt Enable
These bits are set and cleared by software. They enable or disable the Input
capture channel interrupts independently.
0: Input capture channel x interrupt disabled
1: Input capture channel x interrupt enabled
1:0 CF[2:1]
Capture Flag
These bits are set by hardware and cleared by software reading the
corresponding ARTICRx register. Each CFx bit indicates that an input capture x
has occurred.
0: No input capture on channel x
1: An input capture has occurred on channel x.
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 242 243

Comentarios a estos manuales

Sin comentarios