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