Loading files
701e58161This file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/tulipcc-498083946.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
// tsequencer.h
#ifndef __TSEQUENCERH
#define __TSEQUENCERH
#define SEQUENCER_SLOTS 8
#define DEFER_SLOTS 32
#include "py/mphal.h"
#include "py/runtime.h"
#include <stdio.h>
#include "polyfills.h"
#ifndef AMY_IS_EXTERNAL
#include "sequencer.h"
#else
extern uint32_t sequencer_tick_count;
#define AMY_SEQUENCER_PPQ 48
#endif
extern mp_obj_t sequencer_callbacks[SEQUENCER_SLOTS];
extern uint32_t sequencer_period[SEQUENCER_SLOTS];
extern uint32_t sequencer_tick[SEQUENCER_SLOTS];
extern mp_obj_t defer_callbacks[DEFER_SLOTS];
extern uint32_t defer_sysclock[DEFER_SLOTS];
extern mp_obj_t defer_args[DEFER_SLOTS];
void tsequencer_init();
void tulip_amy_sequencer_hook(uint32_t tick_count);
#endif701e58161This file is pinned to the selected release. Download the original to open it in your design tool.