zoukankan      html  css  js  c++  java
  • STM32 Timer : Auto-reload register register

    Auto-reload register (TIMx_ARR)

    The auto-reload register is preloaded.

    Writing to or reading from the auto-reload register accesses the preload register.

    The content of the preload register are transferred into the shadow register permanently

    or at each update event (UEV), depending on the auto-reload preload enable bit (ARPE) in TIMx_CR1 register.

    The update event is sent when the counter reaches the overflow (or underflow when downcounting)

    and if the UDIS bit equals 0 in the TIMx_CR1 register.

    It can also be generated by software.

    The generation of the update event is described in detailed for each configuration.

    ARPE: Auto-reload preload enable
    
    0: TIMx_ARR register is not buffered -- Async Load
    1: TIMx_ARR register is buffered ------ Sync Load

    ARPE  = 0 , UEV = x : ARR preload register --> ARR shadow register

    ARPE  = 1 , UEV = 1 : ARR preload register --> ARR shadow register

     

  • 相关阅读:
    uva 1374 快速幂计算
    uva 1343 非原创
    uva 11212
    uva 10603
    路径寻找问题……!
    bzoj 1008: [HNOI2008]越狱
    bzoj 1010: [HNOI2008]玩具装箱toy
    dp斜率优化小计
    bzoj 1002[FJOI2007]轮状病毒
    hihocoder #1114
  • 原文地址:https://www.cnblogs.com/shangdawei/p/4761966.html
Copyright © 2011-2022 走看看