Embedded Artistry Framework
Embedded Systems C++ Framework
Functions | Variables
nrf52840.cpp File Reference
#include "nrf52840.hpp"
#include <cassert>
#include <processor_architecture.hpp>
#include <processor_includes.hpp>
Include dependency graph for nrf52840.cpp:

Functions

void _putchar (char c)
 Output a character to a custom device like UART, used by the printf() function This function is declared here only. More...
 
static void setWEN () noexcept
 
static void setREN () noexcept
 
static void setVOUT (uint32_t setting) noexcept
 
static bool checkVOUT (uint32_t setting) noexcept
 

Variables

static const uint32_t CPU_FREQ_MHZ = UINT32_C(64)
 

Function Documentation

◆ _putchar()

void _putchar ( char  character)

Output a character to a custom device like UART, used by the printf() function This function is declared here only.

You have to write your custom implementation somewhere

Parameters
characterCharacter to output

Referenced by _out_char(), embvm::CircularLogBufferLogger< TBufferSize, TLock >::dump(), and putchar().

Here is the caller graph for this function:

◆ checkVOUT()

static bool checkVOUT ( uint32_t  setting)
inlinestaticnoexcept

◆ setREN()

static void setREN ( )
inlinestaticnoexcept

Referenced by setVOUT().

◆ setVOUT()

static void setVOUT ( uint32_t  setting)
inlinestaticnoexcept

◆ setWEN()

static void setWEN ( )
inlinestaticnoexcept

Referenced by setVOUT().

Variable Documentation

◆ CPU_FREQ_MHZ

const uint32_t CPU_FREQ_MHZ = UINT32_C(64)
static

Referenced by nRF52840::spin().