diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-13 21:59:29 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-13 21:59:29 +0100 |
commit | 3442b5fdeb4f8dfef38977078c5c6e801dcc2b51 (patch) | |
tree | 830a084743461bf4aab21554889f50886507ef7a /qtmips_machine/qtmipsmachine.h | |
parent | f17eedb8856ae568ebb9b45b367ef6edf1bb7318 (diff) | |
download | qtmips-3442b5fdeb4f8dfef38977078c5c6e801dcc2b51.tar.gz qtmips-3442b5fdeb4f8dfef38977078c5c6e801dcc2b51.tar.bz2 qtmips-3442b5fdeb4f8dfef38977078c5c6e801dcc2b51.zip |
Implemented three dials equivalent to MZ_APO RGB dials.
Tested with code compiled by Linux PIC based GCC compiler
with calling musl-libc sprintf function.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/qtmipsmachine.h')
-rw-r--r-- | qtmips_machine/qtmipsmachine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_machine/qtmipsmachine.h b/qtmips_machine/qtmipsmachine.h index 3680a71..b49cb2f 100644 --- a/qtmips_machine/qtmipsmachine.h +++ b/qtmips_machine/qtmipsmachine.h @@ -48,6 +48,7 @@ #include <physaddrspace.h> #include <peripheral.h> #include <serialport.h> +#include <peripspiled.h> namespace machine { @@ -67,6 +68,7 @@ public: const Cache *cache_data(); Cache *cache_data_rw(); SerialPort *serial_port(); + PeripSpiLed *peripheral_spi_led(); const Core *core(); const CoreSingle *core_singe(); const CorePipelined *core_pipelined(); @@ -113,6 +115,7 @@ private: Memory *mem, *mem_program_only; PhysAddrSpace *physaddrspace; SerialPort *ser_port; + PeripSpiLed *perip_spi_led; Cache *cch_program, *cch_data; Core *cr; |