#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | daisy::Pin |
representation of hardware port/pin combination More... | |
struct | daisy::dsy_gpio_pin |
Namespaces | |
namespace | daisy |
Hardware defines and helpers for daisy field platform. | |
Macros | |
#define | DSY_CORE_HW_H |
#define | DMA_BUFFER_MEM_SECTION __attribute__((section(".sram1_bss"))) |
#define | DTCM_MEM_SECTION __attribute__((section(".dtcmram_bss"))) |
#define | FBIPMAX 0.999985f |
#define | FBIPMIN (-FBIPMAX) |
#define | U82F_SCALE 0.0078740f |
#define | F2U8_SCALE 127.0f |
#define | S82F_SCALE 0.0078125f |
#define | F2S8_SCALE 127.0f |
#define | S162F_SCALE 3.0517578125e-05f |
#define | F2S16_SCALE 32767.0f |
#define | F2S24_SCALE 8388608.0f |
#define | S242F_SCALE 1.192092896e-07f |
#define | S24SIGN 0x800000 |
#define | S322F_SCALE 4.6566129e-10f |
#define | F2S32_SCALE 2147483647.f |
#define | OUT_L out[0] |
#define | OUT_R out[1] |
#define | IN_L in[0] |
#define | IN_R in[1] |
Enumerations | |
enum | daisy::GPIOPort { daisy::PORTA , daisy::PORTB , daisy::PORTC , daisy::PORTD , daisy::PORTE , daisy::PORTF , daisy::PORTG , daisy::PORTH , daisy::PORTI , daisy::PORTJ , daisy::PORTK , daisy::PORTX } |
GPIO Port names. More... | |
enum | daisy::dsy_gpio_port { daisy::DSY_GPIOA , daisy::DSY_GPIOB , daisy::DSY_GPIOC , daisy::DSY_GPIOD , daisy::DSY_GPIOE , daisy::DSY_GPIOF , daisy::DSY_GPIOG , daisy::DSY_GPIOH , daisy::DSY_GPIOI , daisy::DSY_GPIOJ , daisy::DSY_GPIOK , daisy::DSY_GPIOX , daisy::DSY_GPIO_LAST } |
Functions | |
FORCE_INLINE float | cube (float x) |
FORCE_INLINE float | u82f (uint8_t x) |
FORCE_INLINE uint8_t | f2u8 (float x) |
FORCE_INLINE float | s82f (int8_t x) |
FORCE_INLINE int8_t | f2s8 (float x) |
FORCE_INLINE float | s162f (int16_t x) |
FORCE_INLINE int16_t | f2s16 (float x) |
FORCE_INLINE float | s242f (int32_t x) |
FORCE_INLINE int32_t | f2s24 (float x) |
FORCE_INLINE float | s322f (int32_t x) |
FORCE_INLINE int32_t | f2s32 (float x) |
#define DSY_CORE_HW_H |
&