Mercurial > lcfOS
diff test/c3examples/burn2.c3 @ 289:bd2593de3ff8
Semifix burn2
author | Windel Bouwman |
---|---|
date | Thu, 21 Nov 2013 15:46:50 +0100 |
parents | 1c7c1e619be8 |
children |
line wrap: on
line diff
--- a/test/c3examples/burn2.c3 Thu Nov 21 14:26:13 2013 +0100 +++ b/test/c3examples/burn2.c3 Thu Nov 21 15:46:50 2013 +0100 @@ -27,14 +27,14 @@ return; } - var stm32f4xx.RCC_Type RCC; - RCC = cast<RCC_Type>(0x40023800); + var stm32f4xx:RCC_Type RCC; + RCC = cast<stm32f4xx:RCC_Type>(0x40023800); // Enable the clock to port D: RCC->AHB1ENR = RCC->AHB1ENR | (1 << 3); // Memory mapped control registers: - var GPIO_Type GPIOD; - GPIOD = cast<GPIO_Type>(0x40020C00); + var stm32f4xx:GPIO_Type GPIOD; + GPIOD = cast<stm32f4xx:GPIO_Type>(0x40020C00); // PD13 == output (01) GPIOD->MODER = (1 << (pin << 1));