stm32 /stm32n6 /STM32N657 /LPTIM3 /LPTIM3_CCMR1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as LPTIM3_CCMR1

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)CC1SEL 0 (B_0x0_CC1_AS_OUTPUT)CC1E 0 (B_0x0_CC1_AS_OUTPUT)CC1P 0 (B_0x0)IC1PSC 0 (B_0x0)IC1F 0 (B_0x0)CC2SEL 0 (B_0x0_CC2_AS_OUTPUT)CC2E 0 (B_0x0_CC2_AS_OUTPUT)CC2P 0 (B_0x0)IC2PSC 0 (B_0x0)IC2F

CC2P=B_0x0_CC2_AS_OUTPUT, CC1P=B_0x0_CC1_AS_OUTPUT, CC1SEL=B_0x0, CC1E=B_0x0_CC1_AS_OUTPUT, IC1F=B_0x0, IC2F=B_0x0, IC2PSC=B_0x0, IC1PSC=B_0x0, CC2SEL=B_0x0, CC2E=B_0x0_CC2_AS_OUTPUT

Description

LPTIM3 capture/compare mode register 1

Fields

CC1SEL

Capture/compare 1 selection

0 (B_0x0): CC1 channel is configured in output PWM mode

1 (B_0x1): CC1 channel is configured in input capture mode

CC1E

Capture/compare 1 output enable.

0 (B_0x0_CC1_AS_OUTPUT): Off - OC1 is not active. Writing ‘0’ to the CC1E bit resets the ue_dma_req signal only if all the other LPTIM channels are disabled.

1 (B_0x1_CC1_AS_OUTPUT): On - OC1 signal is output on the corresponding output pin

CC1P

Capture/compare 1 output polarity.

0 (B_0x0_CC1_AS_OUTPUT): OC1 active high, the LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CCRx registers

1 (B_0x1_CC1_AS_OUTPUT): OC1 active low, the LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CCRx registers

3 (B_0x3_CC1_AS_INPUT): both edges, circuit is sensitive to both IC1 rising and falling edges.

IC1PSC

Input capture 1 prescaler

0 (B_0x0): no prescaler, capture is done each time an edge is detected on the capture input

1 (B_0x1): capture is done once every 2 events

2 (B_0x2): capture is done once every 4 events

3 (B_0x3): capture is done once every 8 events

IC1F

Input capture 1 filter

0 (B_0x0): any external input capture signal level change is considered as a valid transition

1 (B_0x1): external input capture signal level change must be stable for at least 2 clock periods before it is considered as valid transition.

2 (B_0x2): external input capture signal level change must be stable for at least 4 clock periods before it is considered as valid transition.

3 (B_0x3): external input capture signal level change must be stable for at least 8 clock periods before it is considered as valid transition.

CC2SEL

Capture/compare 2 selection

0 (B_0x0): CC2 channel is configured in output PWM mode

1 (B_0x1): CC2 channel is configured in input capture mode

CC2E

Capture/compare 2 output enable.

0 (B_0x0_CC2_AS_OUTPUT): Off - OC2 is not active. Writing ‘0’ to the CC2E bit resets the ue_dma_req signal only if all the other LPTIM channels are disabled.

1 (B_0x1_CC2_AS_OUTPUT): On - OC2 signal is output on the corresponding output pin

CC2P

Capture/compare 2 output polarity.

0 (B_0x0_CC2_AS_OUTPUT): OC2 active high

1 (B_0x1_CC2_AS_OUTPUT): OC2 active low

3 (B_0x3_CC2_AS_INPUT): both edges, circuit is sensitive to both IC2 rising and falling edges.

IC2PSC

Input capture 2 prescaler

0 (B_0x0): no prescaler, capture is done each time an edge is detected on the capture input

1 (B_0x1): capture is done once every 2 events

2 (B_0x2): capture is done once every 4 events

3 (B_0x3): capture is done once every 8 events

IC2F

Input capture 2 filter

0 (B_0x0): any external input capture signal level change is considered as a valid transition

1 (B_0x1): external input capture signal level change must be stable for at least 2 clock periods before it is considered as valid transition.

2 (B_0x2): external input capture signal level change must be stable for at least 4 clock periods before it is considered as valid transition.

3 (B_0x3): external input capture signal level change must be stable for at least 8 clock periods before it is considered as valid transition.

Links

()