This website requires JavaScript.
Explore
Mirrors
Help
Sign In
Apple-2-SW
/
contiki
Watch
1
Star
0
Fork
0
You've already forked contiki
mirror of
https://github.com/oliverschmidt/contiki.git
synced
2025-01-02 19:29:30 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
8e5d255b5b
contiki
/
cpu
/
msp430
History
adamdunkels
fc6d059d24
Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format. On platforms like the MSP430, which has a 16 bit native datatype, this cannot be implemented with an interrupt tick that increments a 32 bit value because access is not atomic. Instead, the MSP430 code increments 16 bit seconds value and converts this into a 32 bit value through an offset calculation. If the new value is smaller than the last check, the offset is incremented by 65536. This change also means that CLOCK_CONF_SECOND must be a power of two because a modulo operation is used inside the periodic tick interrupt handler.
2008-07-07 23:38:09 +00:00
..
dev
button.c
cc2420-arch.c
clock.c
flash.c
leds-arch.c
loader-arch.c
lpm.c
Makefile.msp430
minileds.c
msp430.c
msp430.h
msp430def.h
mtarch.c
mtarch.h
rom.c
rtimer-arch.c
rtimer-arch.h
slip_uart1.c
spi.c
uip-ipchksum.c
watchdog.c