Aurora-SDK
Development Reference for Aurora-SDK
aurora.h File Reference
#include "daisy_seed.h"
#include "fatfs.h"

Go to the source code of this file.

Classes

struct  aurora::CalibrationData
 Calibration data container for Aurora This data is calibrated from the Qu-Bit default Aurora firmware. It is advised not to save over this data unless you are prepared to recalibrate. More...
 
class  aurora::Hardware
 Hardware support class for the Qu-Bit Aurora This should be created, and intitialized at the beginning of any program before running anything else. More...
 

Namespaces

namespace  aurora
 

Macros

#define AURORA_HW_H
 
#define DTCMRAM   __attribute__((section(".dtcmram_bss")))
 
#define D2RAM   __attribute__((section(".d2_bss")))
 
#define D2RAM2   __attribute__((section(".d2r2_bss")))
 
#define ITCMRAM   __attribute__((section(".itcmram_bss")))
 

Enumerations

enum  aurora::ControlKnobs {
  aurora::KNOB_TIME , aurora::KNOB_REFLECT , aurora::KNOB_MIX , aurora::KNOB_ATMOSPHERE ,
  aurora::KNOB_BLUR , aurora::KNOB_WARP , aurora::KNOB_LAST
}
 indexed accessors for knob controls Example usage: float val = hw.GetKnobValue(KNOB_TIME); More...
 
enum  aurora::ControlCVs {
  aurora::CV_ATMOSPHERE , aurora::CV_TIME , aurora::CV_MIX , aurora::CV_REFLECT ,
  aurora::CV_BLUR , aurora::CV_WARP , aurora::CV_LAST
}
 indexed accessors for CV controls Example usage: float val = hw.GetCvValue(CV_ATMOSPHERE); More...
 
enum  aurora::Switches { aurora::SW_FREEZE , aurora::SW_REVERSE , aurora::SW_SHIFT , aurora::SW_LAST }
 indexed accessors for momentary switches Example usage: bool state = hw.GetSwitch(SW_FREEZE).Pressed(); More...
 
enum  aurora::Gates { aurora::GATE_FREEZE , aurora::GATE_REVERSE , aurora::GATE_LAST }
 indexed accessors for momentary switches Example usage: bool trig = hw.GetGateTrig(GATE_FREEZE); More...
 
enum  aurora::Leds {
  aurora::LED_REVERSE , aurora::LED_FREEZE , aurora::LED_1 , aurora::LED_2 ,
  aurora::LED_3 , aurora::LED_4 , aurora::LED_5 , aurora::LED_6 ,
  aurora::LED_BOT_1 , aurora::LED_BOT_2 , aurora::LED_BOT_3 , aurora::LED_LAST
}
 indexed accessors for RGB LEDs Example usage: hw.SetLed(LED_FREEZE, 0.f, 0.f, 1.f); More...
 

Variables

daisy::USBHostHandle aurora::usb
 global USB host handle accessor This is left global so that it is guaranteed to be within the AXI SRAM with the aurora_sram.lds linker file. More...
 
daisy::FatFSInterface aurora::fatfs_interface
 global accessor to the FatFS interface. This is left global so that it is guaranteed to be within the AXI SRAM with the aurora_sram.lds linker file. More...
 

Macro Definition Documentation

◆ AURORA_HW_H

#define AURORA_HW_H

Aurora Hardware Support File

◆ D2RAM

#define D2RAM   __attribute__((section(".d2_bss")))

◆ D2RAM2

#define D2RAM2   __attribute__((section(".d2r2_bss")))

◆ DTCMRAM

#define DTCMRAM   __attribute__((section(".dtcmram_bss")))

◆ ITCMRAM

#define ITCMRAM   __attribute__((section(".itcmram_bss")))