Chameleon-AVR Nurve Networks, Chameleon-AVR Datasheet - Page 204

MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)

Chameleon-AVR

Manufacturer Part Number
Chameleon-AVR
Description
MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-AVR

Processor To Be Evaluated
AVR 328P
Data Bus Width
8 bit
Interface Type
USB, VGA, PS/2, I2C, ISP, SPI
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
26.3 API Functional Declarations
The following lists each function, a description, comments, and example usage of the function.
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
int PropPort_SetDir(int dirbits);
int PropPort_Read(void);
int PropPort_Write(int data8);
Write the binary patterns for 0..255 on the port at 10 millisecond intervals.
Set the lower 4-bits to outputs, upper 4-bits to inputs.
Set the port to all input and read the port.
11110000 = out, out, out, out, in, in, in, in. Physically on the port header bit 0 is on the right, bit 7 on the
left, so its LSB to MSB right to left. Returns 1.
Returns the pin data.
Returns 1.
PropPort_SetDir(…) sets the direction of the 8 I/O bits on the Propeller local port. 1=output, 0=input, eg:
PropPort_Read() reads the pins of the input port that are set as inputs, pins set as outputs are invalid.
PropPort_Write(…) writes data8 to the port. I/Os that are set as inputs ignore the bits in those positions.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
204

Related parts for Chameleon-AVR