Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stm32:peripherals:timer_clock [2022/12/28 07:54] ruanstm32:peripherals:timer_clock [2022/12/28 07:56] (current) – [SMCR - Slave mode control register] ruan
Line 2: Line 2:
  
 \\ {{timer_clock.svg}} \\ \\ \\ {{timer_clock.svg}} \\ \\
- 
- 
- 
-> {{logo_hal.svg?72px |}} **Hardware Abstraction Layer** 
-> [[https://ennis.zhaw.ch/hal/structreg__tim__t.html | Register Types]] 
-> [[https://ennis.zhaw.ch/hal/hal__timer_8h.html | InES Timer HAL Interface]] 
-\\ 
  
 ===== Configuration Registers ===== ===== Configuration Registers =====
  
-==== CR1 ==== +==== TIMx_CR1 - Configuration register 1 ====
- +
-Configuration register 1+
  
 \\ {{timer_reg_cr1.svg}} \\ \\ \\ {{timer_reg_cr1.svg}} \\ \\
Line 24: Line 15:
 |:::|11|Reserved| |:::|11|Reserved|
  
-==== SMCR ==== +==== TIMx_SMCR - Slave mode control register ====
- +
-Slave mode control register+
  
 \\ {{timer_reg_smcr.svg}} \\ \\ \\ {{timer_reg_smcr.svg}} \\ \\
Line 40: Line 29:
 ===== Programming Example ===== ===== Programming Example =====
  
-The code snippet bellow shows how to configure and use a GPIO pin as input.+The code snippet below shows how to configure and use a GPIO pin as input.
  
 <code c> <code c>
  • stm32/peripherals/timer_clock.1672214056.txt.gz
  • Last modified: 2022/12/28 07:54
  • by ruan