Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
cpu_conf.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Rakendra Thapa <rakendrathapa@gmail.com
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "cpu_conf_common.h"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
#include "hw_ints.h"
25
#include "hw_memmap.h"
26
#include "hw_nvic.h"
27
#include "hw_sysctl.h"
28
#include "hw_types.h"
29
#include "cortex-m4-def.h"
30
#include "stellaris_periph/cpu.h"
31
#include "stellaris_periph/interrupt.h"
32
#include "stellaris_periph/sysctl.h"
33
#include "stellaris_periph/adc.h"
34
#include "stellaris_periph/gpio.h"
35
#include "stellaris_periph/timer.h"
36
#include "stellaris_periph/pin_map.h"
37
#include "stellaris_periph/uart.h"
38
#include "stellaris_periph/ssi.h"
39
#include "stellaris_periph/fpu.h"
40
#include "stellaris_periph/rom.h"
41
42
#ifdef CPU_MODEL_LM4F120H5QR
43
#include "vendor/lm4f120h5qr.h"
44
#endif
45
50
#define CPU_DEFAULT_IRQ_PRIO (1U)
51
#define CPU_IRQ_NUMOF (139U)
52
#define CPU_FLASH_BASE FLASH_BASE
53
#define CPU_HAS_BITBAND (1)
55
60
extern
void
setup_fpu(
void
);
61
extern
void
cpu_clock_init
(
int
);
63
64
#ifdef __cplusplus
65
}
66
#endif
67
cpu_clock_init
void cpu_clock_init(void)
Configures the XOSC and then sets CLK_SYS, PLL_SYS and CLK_PERI to it.
Generated on Mon Jun 15 2026 11:38:07 by
1.13.2