projects
/
my-code
/
arm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6a8f187c55b80db709a2e8c1de7737e0ce3d6805
[my-code/arm.git]
/
fwbc.c
1
/*
2
* fwbc.c - broadcast the betty tv original firmware via uart0
3
* use fwdump to write it onto your computers harddisk
4
*
5
* author: hackbard@hackdaworld.org
6
*
7
*/
8
9
void uart0_init(void) {
10
11
PINSEL0|=((1<<0)|(1<<2)); /* pin select: tx, rx */
12
13
}
14
15
void arm_init(void) {
16
17
/* pin selection */
18
uart0_init();
19
20
}
21
22
void main(void) {
23
24
/* initialization */
25
arm_init();
26
27
}
28