blob: 1ea07df4a7c3f00a6891bd6111954ae9cc3ab102 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef __LPC176X_INTERNAL_H
#define __LPC176X_INTERNAL_H
// Local definitions for lpc176x code
#define PCLK_TIMER0 1
#define PCLK_UART0 3
#define PCLK_ADC 12
void enable_peripheral_clock(uint32_t pclk);
void gpio_peripheral(int bank, int pin, int func, int pullup);
#endif // internal.h
|