Changeset 3092
- Timestamp:
- Jul 30, 2012 9:12:43 AM (10 months ago)
- File:
-
- 1 edited
-
cpu/arm/olpc/edi.fth (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/olpc/edi.fth
r3085 r3092 17 17 : kb9010? ( -- flag ) edi-chip-id 4 = ; 18 18 19 : efcfg ( -- reg# ) kb9010? if h# fea 0 else h# feadthen ;20 : efcmd ( -- reg# ) kb9010? if h# fea 7 else h# feacthen ;21 : efdat ( -- reg# ) kb9010? if h# fea a else h# feabthen ;22 : rst8051 ( -- reg# ) kb9010? if h# f 010 else h# ff14then ;19 : efcfg ( -- reg# ) kb9010? if h# fead else h# fea0 then ; 20 : efcmd ( -- reg# ) kb9010? if h# feac else h# fea7 then ; 21 : efdat ( -- reg# ) kb9010? if h# feab else h# feaa then ; 22 : rst8051 ( -- reg# ) kb9010? if h# ff14 else h# f010 then ; 23 23 24 24 \ Issues with .py code … … 125 125 126 126 : edi-read-id ( -- id ) 127 spi-cs-on h# 3e spi-out 0 spi-outspi-in spi-cs-off127 spi-cs-on h# 3e spi-out spi-in spi-cs-off 128 128 ; 129 129
Note: See TracChangeset
for help on using the changeset viewer.
