#include <nrf52840.hpp>
◆ ProcessorBase
◆ nRF52840()
◆ ~nRF52840()
◆ earlyInitHook()
|
|
inlinestaticnoexceptinherited |
Perform any special initialization steps.
The earlyInitHook_() function must be implemented by the derived class as a static function.
These functions run before the C Run-time setup functions are called, and normal functionality (e.g. OS concepts) are not available.
Early initialization steps represent any super early code that needs to execute. For example, DRAM might need to be initialized before the boot process can relocate memory to its proper location in memory.
These functions are declared static to prevent you from easily using drivers within their confines
◆ earlyInitHook_()
| static void nRF52840::earlyInitHook_ |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ highVoltageMode() [1/2]
| bool nRF52840::highVoltageMode |
( |
| ) |
|
|
noexcept |
◆ highVoltageMode() [2/2]
| bool nRF52840::highVoltageMode |
( |
bool |
en | ) |
|
|
noexcept |
Function for configuring UICR_REGOUT0 register to set GPIO output voltage to 3.0V.
This function will reset the microcontroller if the requested setting was applied. The UICR registers require this.
References checkVOUT(), and setVOUT().
◆ init()
Initialize the processor.
The initProcessor_() function must be implemented by the derived class.
Perform any steps necessary for initializing the processor & processor peripheral devices for use.
Note that this is only intended to be processor initialization. Platform initialization nis handled by the init() function.
This function will likely invoke the VirtualProcessor::init() function, but the order and actual initialization process is left to the derived class.
◆ init_()
◆ name()
Returns the Virtual HW Platform's name.
◆ name_cstr()
Returns the platform name as a cstring for C API compatibility.
◆ reset()
Reset the chip.
The reset_() function must be implemnted by the derived class.
A soft reset is intended to reset the program to the beginning without performing a full power cycle.
◆ reset_()
| void nRF52840::reset_ |
( |
| ) |
|
|
noexcept |
◆ spin()
| void nRF52840::spin |
( |
unsigned int |
usecs | ) |
|
|
noexcept |
The documentation for this class was generated from the following files: