Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
222
/
631
Bit field
Name
Description
15
MOEN
Main Output enable
This bit can be set by software or hardware depending on the TIMx_BKDT.AOEN bit, and is
asynchronously cleared to '0' by hardware once the brake input is active. It is only valid for
channels configured as outputs.
0: OC and OCN outputs are disabled or forced to idle state.
1: OC and OCN outputs are enabled if TIMx_CCEN.CCxEN or TIMx_CCEN.CCxNEN bits
are set. For more details, see Section 10.4.10 Capture/Compare enable registers
(TIMx_CCEN).
14
AOEN
Automatic output enable
0: Only software can set TIMx_BKDT.MOEN;
1: Software sets TIMx_BKDT.MOEN; or if the break input is not active, when the next
update event occurs, hardware automatically sets TIMx_BKDT.MOEN.
13
BKP
Break input polarity
0: Low level of the brake input is valid
1: High level of the brake input is valid
Note:
Any write to this bit requires an APB clock delay to take effect.
12
BKEN
Break enable
0: Disable brake input (BRK and CCS clock failure events)
1: Enable brake input (BRK and CCS clock failure events)
Note: Any write to this bit requires an APB clock delay to take effect.
11
OSSR
Off-state Selection for Run Mode
This bit is used when TIMx_BKDT.MOEN=1 and the channel is a complementary output.
The OSSR bit does not exist in timer without complementary outputs.
0: When inactive, OCx/OCxN outputs are disabled (OCx/OCxN enable output signal=0).
1: When inactive, OCx/OCxN outputs are enabled with their inactive level as soon as
CCxEN=1
or CCxNEN=1. Then, OCx/OCxN enable output signal=1
For more details, See Section 10.4.10, capture/compare enablement registers (TIMx_CCEN).
10
OSSI
Off-state Selection for Idle Mode
This bit is used when TIMx_BKDT.MOEN=0 and the channels configured as outputs.
0: When inactive, OCx/OCxN outputs are disabled (OCx/OCxN enable output signal=0).
1: When inactive, OCx/OCxN outputs are enabled with their idle level as soon as CCxEN=1
or CCxNEN=1. Then, OCx/OCxN enable output signal=1
For more details, See Section 10.4.10, capture/compare enablement registers (TIMx_CCEN).
9:8
LCKCFG[1:0]
Lock Configuration
These bits offer a write protection against software errors.
00:
–
No write protected.
01:
–
LOCK Level 1