mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 06:21:00 +00:00
CPLD: Organize CPLD code into namespaces.
Use type aliases to hide actual CPLD type (somewhat).
This commit is contained in:
@@ -33,6 +33,11 @@
|
||||
namespace cpld {
|
||||
namespace max5 {
|
||||
|
||||
struct Config {
|
||||
const std::array<uint16_t, 3328>& block_0;
|
||||
const std::array<uint16_t, 512>& block_1;
|
||||
};
|
||||
|
||||
class CPLD {
|
||||
public:
|
||||
constexpr CPLD(
|
||||
|
Reference in New Issue
Block a user