BK2CMP2E=B_0x0, BK2INP=B_0x0, BK2CMP2P=B_0x0, BK2CMP1P=B_0x0, BK2CMP1E=B_0x0, BK2INE=B_0x0
TIM1 Alternate function register 2
BK2INE | BRK2 BKIN input enable This bit enables the BKIN2 alternate function input for the timers BRK2 input. BKIN2 input is ORed with the other BRK2 sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). 0 (B_0x0): BKIN2 input disabled 1 (B_0x1): BKIN2 input enabled |
BK2CMP1E | BRK2 COMP1 enable This bit enables the COMP1 for the timers BRK2 input. COMP1 output is ORed with the other BRK2 sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). 0 (B_0x0): COMP1 input disabled 1 (B_0x1): COMP1 input enabled |
BK2CMP2E | BRK2 COMP2 enable This bit enables the COMP2 for the timers BRK2 input. COMP2 output is ORed with the other BRK2 sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). 0 (B_0x0): COMP2 input disabled 1 (B_0x1): COMP2 input enabled |
BK2INP | BRK2 BKIN2 input polarity This bit selects the BKIN2 alternate function input sensitivity. It must be programmed together with the BK2P polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). 0 (B_0x0): BKIN2 input polarity is not inverted (active low if BK2P=0, active high if BK2P=1) 1 (B_0x1): BKIN2 input polarity is inverted (active high if BK2P=0, active low if BK2P=1) |
BK2CMP1P | BRK2 COMP1 input polarity This bit selects the COMP1 input sensitivity. It must be programmed together with the BK2P polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). 0 (B_0x0): COMP1 input polarity is not inverted (active low if BK2P=0, active high if BK2P=1) 1 (B_0x1): COMP1 input polarity is inverted (active high if BK2P=0, active low if BK2P=1) |
BK2CMP2P | BRK2 COMP2 input polarity This bit selects the COMP2 input sensitivity. It must be programmed together with the BK2P polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). 0 (B_0x0): COMP2 input polarity is not inverted (active low if BK2P=0, active high if BK2P=1) 1 (B_0x1): COMP2 input polarity is inverted (active high if BK2P=0, active low if BK2P=1) |