CC1P=B_0x0_CC1_AS_OUTPUT, CC2P=B_0x0_CC2_AS_OUTPUT, IC1PSC=B_0x0, CC2E=B_0x0_CC2_AS_OUTPUT, IC2F=B_0x0, IC1F=B_0x0, IC2PSC=B_0x0, CC1E=B_0x0_CC1_AS_OUTPUT, CC2SEL=B_0x0, CC1SEL=B_0x0
LPTIM capture/compare mode register 1
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. 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. 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. |