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

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
80
void triac_PhaseCntrlPin(int triac, int port, int bit, int pin_
state);
triac_PhaseInit, triac_PhaseCntrl, triac_PhaseLock, triac_PhaseUnlock,
triac_PhaseEnable, triac_PhaseDisable
Initializes the port and the I/O pin that is going to be used by the specified triac.
For multiple triacs, the control pins must be on the same port—the maximum number
of pins is 8. 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_PHASE.c
sample program for an example.)
A run-time error will occur if the triac_PhaseInit function has not executed or if
the maximum number of 8 triacs is exceeded.
triac
port
io_pin
pin_state
None.
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.
triac_PhaseCntrlPin
PowerCore FLEX

Related parts for 101-1006