Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
20
#include "cpu_conf_common.h"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#include "hw_ints.h"
27
#include "hw_memmap.h"
28
#include "hw_nvic.h"
29
#include "hw_sysctl.h"
30
#include "hw_types.h"
31
#include "cortex-m4-def.h"
32
#include "stellaris_periph/cpu.h"
33
#include "stellaris_periph/interrupt.h"
34
#include "stellaris_periph/sysctl.h"
35
#include "stellaris_periph/adc.h"
36
#include "stellaris_periph/gpio.h"
37
#include "stellaris_periph/timer.h"
38
#include "stellaris_periph/pin_map.h"
39
#include "stellaris_periph/uart.h"
40
#include "stellaris_periph/ssi.h"
41
#include "stellaris_periph/fpu.h"
42
#include "stellaris_periph/rom.h"
43
44
#ifdef CPU_MODEL_LM4F120H5QR
45
#include "vendor/lm4f120h5qr.h"
46
#endif
47
52
#define CPU_DEFAULT_IRQ_PRIO (1U)
53
#define CPU_IRQ_NUMOF (139U)
54
#define CPU_FLASH_BASE FLASH_BASE
55
#define CPU_HAS_BITBAND (1)
62
extern
void
setup_fpu(
void
);
63
extern
void
cpu_clock_init
(
int
);
66
#ifdef __cplusplus
67
}
68
#endif
69
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 Fri Sep 26 2025 19:45:32 by
1.9.1