Mercurial > lcfOS
comparison examples/c3/stm32f4xx.c3 @ 300:158068af716c
yafm
author | Windel Bouwman |
---|---|
date | Tue, 03 Dec 2013 18:00:22 +0100 |
parents | test/c3examples/stm32f4xx.c3@d9df72971cbf |
children |
comparison
equal
deleted
inserted
replaced
299:674789d9ff37 | 300:158068af716c |
---|---|
1 | |
2 module stm32f4xx; | |
3 | |
4 type struct { | |
5 int MODER; | |
6 int OTYPER; | |
7 int OSPEEDR; | |
8 int PUPDR; | |
9 int IDR; | |
10 int ODR; | |
11 }* GPIO_Type; | |
12 | |
13 type struct { | |
14 int CR; | |
15 int PLLCFGR; | |
16 int CFGR; | |
17 int CIR; | |
18 int AHB1RSTR; | |
19 int AHB2RSTR; | |
20 int AHB3RSTR; | |
21 int reserved0; | |
22 int APB1RSTR; | |
23 int APB2RSTR; | |
24 int reserved1a, reserved1b; | |
25 int AHB1ENR; | |
26 int AHB2ENR; | |
27 int AHB3ENR; | |
28 int reserved2; | |
29 int APB1ENR, APB2ENR; | |
30 }* RCC_Type; | |
31 |