Elara Spacecraft
Source code & API documentation for Elara spacecraft system computers
Loading...
Searching...
No Matches
clock.hpp
Go to the documentation of this file.
1#pragma once
2
3
4
5/*
6 IMPORTANT REFERENCE(S):
7 - Stellaris Documentation pg. 178
8 - See warning on pg. 184
9 - pg 179
10*/
11
12#include "mem_tools.hpp"
13#include "types.hpp"
14#include "sysctl/registers.hpp"
15
16namespace stellaris
17{
18namespace clock
19{
20
25void initialize();
26
34void wait(uint32_t cycles);
35
43void nop_wait(uint32_t cycles);
44
45}
46}
Definition clock.hpp:19
void nop_wait(uint32_t cycles)
Repeat NOP until cycle complete.
void initialize()
Initialize the main system clock and oscillator.
Definition clock.cpp:3
void wait(uint32_t cycles)
Wait for length of cycles
Definition clock.hpp:17
unsigned int uint32_t
Definition types.hpp:5