17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Built-in Functions<br />

clc1_setup_input() clc2_setup_input() clc3_setup_input()<br />

clc4_setup_input()<br />

Syntax:<br />

Parameters:<br />

clc1_setup_input(input, selection);<br />

clc2_setup_input(input, selection);<br />

clc3_setup_input(input, selection);<br />

clc4_setup_input(input, selection);<br />

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

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

selection – the actual input for the specified input that is<br />

actually connected to the data gates of the CLC module. The<br />

options are:<br />

CLC_INPUT_0<br />

CLC_INPUT_1<br />

CLC_INPUT_2<br />

CLC_INPUT_3<br />

CLC_INPUT_4<br />

CLC_INPUT_5<br />

CLC_INPUT_6<br />

CLC_INPUT_7<br />

Returns:<br />

Function:<br />

Availability:<br />

Returns:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

Undefined.<br />

Sets the input for the specified input number that is actually<br />

connected to all four data gates of the CLC module. Please<br />

refer to the table CLCx DATA INPUT SELECTION in the<br />

device's datasheet to determine which of the above selections<br />

corresponds to actual input pin or peripheral of the device.<br />

On devices with a CLC module.<br />

Undefined.<br />

clc1_setup_input(1, CLC_INPUT_0);<br />

clc1_setup_input(2, CLC_INPUT_1);<br />

clc1_setup_input(3, CLC_INPUT_2);<br />

clc1_setup_input(4, CLC_INPUT_3);<br />

None<br />

setup_clcx(), clcx_setup_gate()<br />

167

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

Saved successfully!

Ooh no, something went wrong!