annotate python/stm32f4/stm32f4xx.c3 @ 254:bd26dc13f270

Added logger
author Windel Bouwman
date Wed, 31 Jul 2013 21:20:58 +0200
parents 6ed3d3a82a63
children
rev   line source
251
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
1
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
2 package stm32f4xx;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
3
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
4 type struct {
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
5 int MODER;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
6 int OTYPER;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
7 int OSPEEDR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
8 int PUPDR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
9 int IDR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
10 int ODR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
11 }* GPIO_Type;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
12
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
13 type struct {
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
14 int CR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
15 int PLLCFGR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
16 int CFGR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
17 int CIR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
18 int AHB1RSTR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
19 int AHB2RSTR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
20 int AHB3RSTR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
21 int reserved0;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
22 int APB1RSTR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
23 int APB2RSTR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
24 int reserved1a, reserved1b;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
25 int AHB1ENR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
26 int AHB2ENR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
27 int AHB3ENR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
28 int reserved2;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
29 int APB1ENR, APB2ENR;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
30 }* RCC_Type;
6ed3d3a82a63 Added another c3 example. First import attempt
Windel Bouwman
parents:
diff changeset
31