Bit 7 ARPE: Tải lại tự động kích hoạt preload
0: TIM1_ARR đăng ký không được đệm thông qua một đăng ký preload. Nó có thể được ghi trực tiếp
1: TIM1_ARR đăng ký đệm thông qua một đăng ký preload
bit 6:5 CMS [1:0]: Trung tâm liên kết chế độ lựa chọn
00: chế độ cạnh liên kết. Số lượt truy cập đếm lên hoặc xuống tùy thuộc vào hướng chút (DIR).
01: Trung tâm liên kết chế độ 1. Số lượt truy cập đếm lên và xuống Luân phiên. So sánh sản lượng gián đoạn
lá cờ của kênh cấu hình trong đầu ra (CCiS = 00 trong sổ đăng ký TIM1_CCMRi) được đặt chỉ khi các
số lượt truy cập đếm xuống.
10: Trung tâm liên kết chế độ 2. Số lượt truy cập đếm lên và xuống Luân phiên. So sánh sản lượng gián đoạn
lá cờ của kênh cấu hình trong đầu ra (CCiS = 00 trong sổ đăng ký CCMRi) được đặt chỉ khi truy cập
đếm lên
11: Trung tâm liên kết chế độ 3. Số lượt truy cập đếm lên và xuống Luân phiên. So sánh sản lượng gián đoạn
lá cờ của kênh cấu hình trong đầu ra (CCiS = 00 trong sổ đăng ký TIM1_CCMRi) được thiết lập khi cả hai các
số lượt truy cập đếm lên và xuống.
lưu ý: nó không được cho phép để chuyển từ chế độ cạnh liên kết để liên kết trung tâm chế độ trong khi truy cập là
kích hoạt (CEN = 1)
chế độ mã hóa (tin nhắn SMS = 001, 010 hoặc 011 trong đăng ký TIM1_SMCR) phải được vô hiệu hóa trong centeralignedCấu hình bộ đếm thời gian một chế độ tổng thể để gửi tín hiệu 1 tham khảo (OC1REF) so sánh sản lượng của nó là kích hoạt đầu ra (MMS = 100 trong đăng ký TIMx_CR2).
2. Cấu hình dạng sóng bộ đếm thời gian A OC1REF (TIMx_CCMR1 đăng ký)
3. Cấu hình bộ đếm thời gian B để có được kích hoạt đầu vào từ bộ đếm thời gian A (TS = 001 trong đăng ký TIMx_SMCR).
4. Đặt cấu hình các bộ đếm thời gian B trong chế độ kích hoạt gated (tin nhắn SMS = 101 trong đăng ký TIMx_SMCR)
5.
đang được dịch, vui lòng đợi..