openMMC
Open Source Modular MMC for AMCs
|
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | lpc17_pll0_src { pll0_irc_src , pll0_osc_src , pll0_rtc_src } |
enum | lpc17_pclk { pclk_wdt , pclk_timer0 , pclk_timer1 , pclk_uart0 , pclk_uart1 , pclk_pwm1 , pclk_i2c0 , pclk_spi , pclk_ssp1 , pclk_dac , pclk_adc , pclk_can1 , pclk_can2 , pclk_acf , pclk_qei , pclk_gpioint , pclk_pcb , pclk_i2c1 , pclk_ssp0 , pclk_timer2 , pclk_timer3 , pclk_uart2 , pclk_uart3 , pclk_i2c2 , pclk_i2s , pclk_rit , pclk_syscon , pclk_mc } |
enum | lpc17_pclk_div { pclk_div1 , pclk_div2 , pclk_div4 , pclk_can_div6 , pclk_div8 } |
Functions | |
int | lpc17_set_pll0 (uint16_t pll_div, uint16_t pll_mul, uint16_t cpu_div, enum lpc17_pll0_src src) |
void | lpc17_set_pclk (enum lpc17_pclk pclk, enum lpc17_pclk_div div) |
enum lpc17_pclk |
enum lpc17_pclk_div |
enum lpc17_pll0_src |
void lpc17_set_pclk | ( | enum lpc17_pclk | pclk, |
enum lpc17_pclk_div | div ) |
int lpc17_set_pll0 | ( | uint16_t | pll_div, |
uint16_t | pll_mul, | ||
uint16_t | cpu_div, | ||
enum lpc17_pll0_src | src ) |