#include <stdint.h>
#include <harp_message.h>
#include <core_registers.h>
#include <harp_synchronizer.h>
#include <arm_regs.h>
#include <cstring>
#include <tusb.h>
#include <hardware/structs/timer.h>
#include <pico/divider.h>
#include <hardware/timer.h>
#include <pico/unique_id.h>
#include <pico/bootrom.h>
Go to the source code of this file.
|
| struct | RegFnPair |
| |
| class | HarpCore |
| | Harp Core that handles management of common bank registers. Implemented as a singleton to simplify attaching interrupt callbacks (and since you can only have one per device.) More...
|
| |
◆ HARP_VERSION_MAJOR
| #define HARP_VERSION_MAJOR (0) |
◆ HARP_VERSION_MINOR
| #define HARP_VERSION_MINOR (0) |
◆ HARP_VERSION_PATCH
| #define HARP_VERSION_PATCH (0) |
◆ HEARTBEAT_ACTIVE_INTERVAL_US
| #define HEARTBEAT_ACTIVE_INTERVAL_US (1'000'000UL) |
◆ HEARTBEAT_STANDBY_INTERVAL_US
| #define HEARTBEAT_STANDBY_INTERVAL_US (3'000'000UL) |
◆ NO_PC_INTERVAL_US
| #define NO_PC_INTERVAL_US (3'000'000UL) |
◆ read_reg_fn
| typedef void(* read_reg_fn) (uint8_t reg) |
◆ write_reg_fn
| typedef void(* write_reg_fn) (msg_t &msg) |