17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Also See:<br />

floor()<br />

clc1_setup_gate() clc2_setup_gate() clc3_setup_gate()<br />

clc4_setup_gate()<br />

Syntax:<br />

Parameters:<br />

clc1_setup_gate(gate, mode);<br />

clc2_setup_gate(gate, mode);<br />

clc3_setup_gate(gate, mode);<br />

clc4_setup_gate(gate, mode);<br />

gate – selects which data gate of the Configurable Logic Cell<br />

(CLC) module to setup, value can be 1 to 4.<br />

mode – the mode to setup the specified data gate of the CLC<br />

module into. The options are:<br />

CLC_GATE_AND<br />

CLC_GATE_NAND<br />

CLC_GATE_NOR<br />

CLC_GATE_OR<br />

CLC_GATE_CLEAR<br />

CLC_GATE_SET<br />

Returns:<br />

Function:<br />

Availability:<br />

Returns:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

Undefined<br />

Sets the logic function performed on the inputs for the<br />

specified data gate.<br />

On devices with a CLC module.<br />

Undefined.<br />

clc1_setup_gate(1, CLC_GATE_AND);<br />

clc1_setup_gate(2, CLC_GATE_NAND);<br />

clc1_setup_gate(3, CLC_GATE_CLEAR);<br />

clc1_setup_gate(4, CLC_GATE_SET);<br />

None<br />

setup_clcx(), clcx_setup_input()<br />

166

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!