GR712RC unit tests 1.0
Bare-metal C++ hardware tests for the PLATO DPU (IAA-CSIC, 2019)
Loading...
Searching...
No Matches
mcal_gpt.h File Reference

General purpose timer abstraction layer. More...

#include <chrono>
#include <cstdint>
Include dependency graph for mcal_gpt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mcal::gpt::secure

Namespaces

namespace  util
namespace  mcal
namespace  mcal::gpt

Typedefs

typedef void mcal::gpt::config_type
typedef std::uint32_t mcal::gpt::value_type

Functions

void __sys_tick_handler () __attribute__((used
void mcal::gpt::init (const config_type *)
value_type mcal::gpt::get_system_time ()

Variables

void noinline

Detailed Description

General purpose timer abstraction layer.

Provides functions to initialize and control the systick clock Section 12.10.

Configuration Sequence

1.- Program Reload Value 2.- Clear the current value. 3.- Program Ctrl and Status

NOTE: Interrupts should be enabled.

Author
Juan Manuel Gomez Lopez jmgom.nosp@m.ez@i.nosp@m.aa.es

Registros afectado: SYST_CSR, SYST_RVR, SYST_CVR, SYST_CALIB.

Definition in file mcal_gpt.h.

Function Documentation

◆ __sys_tick_handler()

void __sys_tick_handler ( )

Variable Documentation

◆ noinline

void noinline

Definition at line 35 of file mcal_gpt.h.