Writing /var/lib/dokuwiki/data/meta/teaching/ie0624/actividad_stm32_timer_uart.meta failed
teaching:ie0624:actividad_stm32_timer_uart
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| teaching:ie0624:actividad_stm32_timer_uart [2018/10/29 20:50] – [Opcional] dgarcia | teaching:ie0624:actividad_stm32_timer_uart [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 84: | Line 84: | ||
| | | ||
| void system_init(void) { | void system_init(void) { | ||
| - | rcc_clock_setup_hsi(& | + | rcc_clock_setup_hsi(& |
| leds_init(); | leds_init(); | ||
| } | } | ||
| Line 138: | Line 138: | ||
| | | ||
| /* Reset TIM1 peripheral. */ | /* Reset TIM1 peripheral. */ | ||
| - | timer_reset(TIM1); | + | |
| + | rcc_periph_reset_pulse(RST_TIM1); | ||
| | | ||
| /* Timer global mode: | /* Timer global mode: | ||
| Line 234: | Line 235: | ||
| ==== Opcional ==== | ==== Opcional ==== | ||
| + | |||
| + | En esta parte opcional se logrará reproducir una pieza simple con el STM. Necesita el STM32F3 Discovery, un [[https:// | ||
| * Cree la función '' | * Cree la función '' | ||
| Line 249: | Line 252: | ||
| * Will wait for 100 miliseconds | * Will wait for 100 miliseconds | ||
| */ | */ | ||
| - | void delay(iint32_t | + | void delay(uint32_t |
| | | ||
| /* | /* | ||
teaching/ie0624/actividad_stm32_timer_uart.1540846227.txt.gz · Last modified: 2022/09/20 00:08 (external edit)