mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 17:35:34 -04:00
Enhanced Debug -> Peripherals app to allow direct register modification (#1584)
* Add files via upload * Add files via upload * Add files via upload * Add files via upload * Clang * Clang * Tweak position of field on screen * Reverted text on Write button per reviewer feedback
This commit is contained in:
parent
10f6600f52
commit
ef92c5bc0a
15 changed files with 178 additions and 79 deletions
|
@ -841,6 +841,7 @@ class RFFC507x {
|
|||
void set_gpo1(const bool new_value);
|
||||
|
||||
reg_t read(const address_t reg_num);
|
||||
void write(const address_t reg_num, const reg_t value);
|
||||
|
||||
private:
|
||||
spi::SPI _bus{};
|
||||
|
@ -848,8 +849,6 @@ class RFFC507x {
|
|||
RegisterMap _map{default_hackrf_one};
|
||||
DirtyRegisters<Register, reg_count> _dirty{};
|
||||
|
||||
void write(const address_t reg_num, const reg_t value);
|
||||
|
||||
void write(const Register reg, const reg_t value);
|
||||
reg_t read(const Register reg);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue