101-1006 Rabbit Semiconductor, 101-1006 Datasheet - Page 94

no-image

101-1006

Manufacturer Part Number
101-1006
Description
MODULE POWERCORE FLEX 3800
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1006

Module/board Type
MPU Core Module
For Use With/related Products
RCM3800
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
86
void triac_TimePropCntrlPin(int triac, int port, int io_pin,
int pin_state);
triac_TimePropCntrl
Initializes the port and the I/O pin that is going to be used by the specified triac.
For multiple triacs, the control pins can be on any combination of ports. You will also
need to write a custom I/O driver for the control pins. (See the triac_gate_on and
triac_gate_off routines in the TRIAC_RATIO.c sample program for an
example.)
A run-time error will occur if the triac_TimePropInit function has not executed
or if the maximum triac limit is exceeded.
triac
port
io_pin
pin_state
0 if successful.
-1 if address is invalid or is out of range.
triac_TimePropCntrlPin
selects the triac (0 to MAX_TRIACS - 1).
specifies the I/O port used to control the triac. Use one of these
predefined I/O macros.
PADR, PBDR, PCDR, PDDR, PEDR, PFDR, or PGDR
the bit number of the I/O pin to be used for triac control.
the value used to set the I/O pin to its initial state.
PowerCore FLEX

Related parts for 101-1006