Mercurial > lcfOS
comparison python/stm32f4/blink.c3 @ 205:d77cb5962cc5
Added some handcoded arm code generation
author | Windel Bouwman |
---|---|
date | Sun, 23 Jun 2013 18:23:18 +0200 |
parents | de3a68f677a5 |
children | 8b2f20aae086 |
comparison
equal
deleted
inserted
replaced
204:de3a68f677a5 | 205:d77cb5962cc5 |
---|---|
37 TIM2->DIER |= TIM_DIER_UIE; | 37 TIM2->DIER |= TIM_DIER_UIE; |
38 TIM2->ARR = 0xE000; | 38 TIM2->ARR = 0xE000; |
39 TIM2->CR1 |= TIM_CR1_ARPE | TIM_CR1_CEN; | 39 TIM2->CR1 |= TIM_CR1_ARPE | TIM_CR1_CEN; |
40 TIM2->EGR = 1; | 40 TIM2->EGR = 1; |
41 | 41 |
42 while(1); | |
43 */ | 42 */ |
43 while(true) {} | |
44 } | 44 } |
45 | 45 |