Mercurial > lcfOS
view examples/c3/stm32f4xx.c3 @ 384:94f5b719ad0b
Small refactor
author | Windel Bouwman |
---|---|
date | Sun, 27 Apr 2014 17:50:25 +0200 |
parents | 158068af716c |
children |
line wrap: on
line source
module stm32f4xx; type struct { int MODER; int OTYPER; int OSPEEDR; int PUPDR; int IDR; int ODR; }* GPIO_Type; type struct { int CR; int PLLCFGR; int CFGR; int CIR; int AHB1RSTR; int AHB2RSTR; int AHB3RSTR; int reserved0; int APB1RSTR; int APB2RSTR; int reserved1a, reserved1b; int AHB1ENR; int AHB2ENR; int AHB3ENR; int reserved2; int APB1ENR, APB2ENR; }* RCC_Type;