STM32F4 Timer Internal Trigger Connection

Source: Internet
Author: User

/** Trigger Select mapping for slave timer from master timer. This was * unfortunately not very straightforward;  There ' s no tidy-on-the-algorithmically.  To avoid burning memory for a lookup table, use macros to * compute the offset. This also have the benefit that compilation would fail if * An unsupported master/slave pairing is used.    * * Slave Master * 1 2 3 4 (stm32f100 only) * 2 9 10 3 4 * 3 9 2 11 4 * 4 2 3 9 * 9 2 3 (stm32l15x only) *--------------------* ts = 0 1 2 3*/#defineStm32_tim_ts_slave_1_master_15 0#defineStm32_tim_ts_slave_1_master_2 1#defineStm32_tim_ts_slave_1_master_3 2#defineStm32_tim_ts_slave_1_master_4 3#defineStm32_tim_ts_slave_2_master_9 0#defineStm32_tim_ts_slave_2_master_10 1#defineStm32_tim_ts_slave_2_master_3 2#defineStm32_tim_ts_slave_2_master_4 3#defineStm32_tim_ts_slave_3_master_9 0#defineStm32_tim_ts_slave_3_master_2 1#defineStm32_tim_ts_slave_3_master_11 2#defineStm32_tim_ts_slave_3_master_4 3#defineStm32_tim_ts_slave_4_master_10 0#defineStm32_tim_ts_slave_4_master_2 1#defineStm32_tim_ts_slave_4_master_3 2#defineStm32_tim_ts_slave_4_master_9 3#defineStm32_tim_ts_slave_9_master_2 0#defineStm32_tim_ts_slave_9_master_3 1#defineStm32_tim_ts_slave_9_master_10 2#defineStm32_tim_ts_slave_9_master_11 3

Stm32f4 Timer Internal Trigger Connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.