abse/smart-ring-flex

A tscircuit package created by abse.

Version
0.0.24
License
unset
Stars
0

firmware/onboard-programmer/ring-service-candidate/src/delay.h

// ===================================================================================
// Delay Functions for CH551, CH552 and CH554                                 * v1.1 *
// ===================================================================================

#pragma once
#include <stdint.h>
#include "ch554.h"

void DLY_us(uint16_t n);   // delay in units of us
void DLY_ms(uint16_t n);   // delay in units of ms