aboutsummaryrefslogtreecommitdiffstats
path: root/fw/tests/system/spi_systest.c
blob: 1adc62442c40693c61aa15b51176002dfee5c5ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <xc.h>

#include <stdint.h>

#include "system.h"
#include "types.h"
#include "spi.h"

void
main(void) {
	sysInit();
	spiInit();

	for (;;) {
		(void)spiTx(0x05); // 0b0000101
	}
}

void
__interrupt() isr(void) {

}