Contiki 3.x
n740.c File Reference

This file provides functions to control various chips on the Sensinode N740s: More...

#include "dev/n740.h"
#include "dev/uart1.h"
#include "8051def.h"

Go to the source code of this file.

Detailed Description

This file provides functions to control various chips on the Sensinode N740s:

Mux/De-mux: Connected to P0_3 (set to output in models.c Changing the state of the mux/demux can have catastrophic (tm) results on our software. If we are not careful, we risk entering a state where UART1 RX interrupts are being generated non-stop. Only change its state via the function in this file.

Shift Register: For the shift register we can:

The chip is connected to CPU pins as follows:

This file can be placed in any bank.

Author
George Oikonomou - oikon.nosp@m.omou.nosp@m.@user.nosp@m.s.so.nosp@m.urcef.nosp@m.orge.nosp@m..net

Definition in file n740.c.