mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 07:19:28 -05:00
Expose register read functions.
This commit is contained in:
parent
74aa2112f4
commit
041e211841
@ -881,6 +881,7 @@ public:
|
||||
reg_t temp_sense();
|
||||
|
||||
RegisterMap registers();
|
||||
reg_t read(const address_t reg_num);
|
||||
|
||||
private:
|
||||
spi::arbiter::Target& _target;
|
||||
@ -891,7 +892,6 @@ private:
|
||||
void flush_one(const Register reg);
|
||||
|
||||
void write(const address_t reg_num, const reg_t value);
|
||||
reg_t read(const address_t reg_num);
|
||||
|
||||
void write(const Register reg, const reg_t value);
|
||||
reg_t read(const Register reg);
|
||||
|
@ -810,6 +810,7 @@ public:
|
||||
void set_frequency(const rf::Frequency lo_frequency);
|
||||
|
||||
RegisterMap registers();
|
||||
reg_t read(const address_t reg_num);
|
||||
|
||||
private:
|
||||
spi::SPI _bus;
|
||||
@ -818,7 +819,6 @@ private:
|
||||
DirtyRegisters<Register, reg_count> _dirty;
|
||||
|
||||
void write(const address_t reg_num, const reg_t value);
|
||||
reg_t read(const address_t reg_num);
|
||||
|
||||
void write(const Register reg, const reg_t value);
|
||||
reg_t read(const Register reg);
|
||||
|
Loading…
Reference in New Issue
Block a user