
1 changed files with 30 additions and 0 deletions
@ -0,0 +1,30 @@ |
|||
#ifndef HECK_DAISY_TYPES_HH |
|||
#define HECK_DAISY_TYPES_HH |
|||
|
|||
#include <cstdint> |
|||
#include "daisy_seed.h" |
|||
#include "daisysp.h" |
|||
|
|||
namespace Heck { |
|||
|
|||
// Types
|
|||
using u8 = uint8_t; |
|||
using u16 = uint16_t; |
|||
using u32 = uint32_t; |
|||
using u64 = uint64_t; |
|||
|
|||
using i8 = int8_t; |
|||
using i16 = int16_t; |
|||
using i32 = int32_t; |
|||
using i64 = int64_t; |
|||
|
|||
using f32 = float; |
|||
using f64 = double; |
|||
|
|||
// namespace aliases
|
|||
namespace ld = daisy; |
|||
namespace dsp = daisysp; |
|||
} // namespace Heck
|
|||
|
|||
|
|||
#endif |
Loading…
Reference in new issue