rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
rflpc17xx.h
Go to the documentation of this file.
1 /* This file is part of rflpc. Copyright 2010-2011 Michael Hauspie
2  *
3  * rflpc is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * rflpc is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with rflpc. If not, see <http://www.gnu.org/licenses/>.
15  */
16 /*
17  Author: Michael Hauspie <michael.hauspie@univ-lille1.fr>
18  Created:
19  Time-stamp: <2015-06-17 14:23:57 (hauspie)>
20  */
21 #ifndef __RFLPC_RFLPC17XX_H__
22 #define __RFLPC_RFLPC17XX_H__
23 
252 /* Arm and NXP includes */
253 #include "nxp/LPC17xx.h"
254 #include "nxp/core_cm3.h"
255 
256 /* Library configuration */
257 #include "config/config.h"
258 
259 /* Base system includes */
260 #include "clock.h"
261 #include "debug.h"
262 #include "interrupt.h"
263 #include "pinconf.h"
264 #include "profiling.h"
265 #include "iap.h"
266 
267 
268 /* Tiny libc */
269 #include "tinylibc/printf.h"
270 #include "tinylibc/memcpy.h"
271 #include "tinylibc/memset.h"
272 #include "tinylibc/setjmp.h"
273 #include "tinylibc/rand.h"
274 
275 /* Peripheral drivers */
276 #include "drivers/eth_const.h"
277 #include "drivers/ethernet.h"
278 #include "drivers/gpio.h"
279 #include "drivers/leds.h"
280 #include "drivers/rit.h"
281 #include "drivers/spi.h"
282 #include "drivers/sys_tick_timer.h"
283 #include "drivers/timer.h"
284 #include "drivers/uart.h"
285 #include "drivers/dma.h"
286 #include "drivers/pwm.h"
287 #include "drivers/adc.h"
288 #include "drivers/dac.h"
289 #include "drivers/i2c.h"
290 
291 #endif
General Purpose DMA driver.
UART0 driver.
Repetitive Interrupt Timer device driver.
Pulse Width Modulation driver.
An implementation of formated output.
System tick timer device driver.
Debug functions such as delay and stack dump.
Ethernet driver constants.
GPIO peripheral driver.
Macro that can be used to profile some parts of your code.
Platform independent configuration options.
A implementation of srand and rand function.
Clock initialization and defines.
TIMER0/1/2/3 device driver.
ADC peripheral driver.
SPI device driver.
An implementation of memcpy.
Ethernet peripheral driver.
Multi-purpose pins configuration made easy.
Interrupt handling functions.
Digital To Analog Converter (DAC) driver.
In-Application programming functions This file defines functions to acces the flash memory interface...
On board LEDs peripheral driver.
An implementation of memset.
I2C Device driver.