mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-01 02:56:34 -04:00
Expose register read functions.
This commit is contained in:
parent
74aa2112f4
commit
041e211841
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue