Rev 151 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 151 | Rev 157 | ||
|---|---|---|---|
| Line 15... | Line 15... | ||
| 15 | void SL11HardReset(void) |
15 | void SL11HardReset(void) |
| 16 | { |
16 | { |
| 17 | unsigned char val=input(0x83ab)&0x10; |
17 | unsigned char val=input(0x83ab)&0x10; |
| 18 | halt(); |
18 | halt(); |
| 19 | output(0x83ab,val); |
19 | output(0x83ab,val); |
| 20 | output(0x81ab,0x00); |
20 | output(0x82ab,input(0x82ab)&0xbf); |
| 21 | halt(); |
21 | halt(); |
| 22 | val|=0x20; |
22 | val|=0x20; |
| 23 | output(0x83ab,val); |
23 | output(0x83ab,val); |
| 24 | halt(); |
24 | halt(); |
| 25 | halt(); |
25 | halt(); |