aboutsummaryrefslogtreecommitdiff
path: root/system-clock/include/spin.h
blob: a88d2f8e8ee548647d30cc32b4704598d723f927 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef H__SPIN_
#define H__SPIN_

#include <stdint.h>

/*
 * Flash a code on the status LED.
 *
 * The flash codes a binary from MSB to LSB. A long flash is a 1, a short flash
 * is a 0. Each independent flashing is succeced by a break of 4 times that
 * of a long flash.
 */
void spin(uint32_t base_delay, uint8_t code);



#endif /* H__SPIN_ */