|
| void | CCL_Enable (void) |
| | Enables the CCL module.
|
| |
| void | CCL_Disable (void) |
| | Disables the CCL module.
|
| |
| void | CCL_SoftwareReset (void) |
| | Performs a software reset of the CCL module.
|
| |
| void | CCL_RunInStandby (bool run_standby) |
| | Configures the CCL to run in standby mode.
|
| |
| void | CCL_SetLUTTruthTable (uint8_t lut_index, uint8_t truth_value) |
| | Sets the truth table for a specified LUT.
|
| |
| void | CCL_SetLUTInputs (uint8_t lut_index, uint8_t in0, uint8_t in1, uint8_t in2) |
| | Sets the input sources for a specified LUT.
|
| |
| void | CCL_SetLUTFilter (uint8_t lut_index, uint8_t filter) |
| | Sets the filter for a specified LUT.
|
| |
| void | CCL_SetLUTEdgeDetect (uint8_t lut_index, uint8_t edge) |
| | Sets the edge detection for a specified LUT.
|
| |
| void | CCL_EnableLUTOutput (uint8_t lut_index, bool enable) |
| | Enables or disables the output for a specified LUT.
|
| |
| void | CCL_EnableLUT (uint8_t lut_index, bool enable) |
| | Enables or disables a specified LUT.
|
| |
| void | CCL_SetLUTInvert (uint8_t lut_index, bool invert) |
| | Sets the output inversion for a specified LUT.
|
| |
| void | CCL_EnableLUTInput (uint8_t lut_index, bool input_enable) |
| | Enables or disables the input for a specified LUT.
|
| |
| void | CCL_ConfigureSequencer (uint8_t seq_index, uint8_t seq_type) |
| | Configures the sequencer for a specified index.
|
| |
#include <stdint.h>
#include <stdbool.h>
int32_t configure_ccl(void)
{
CCL_SetLUTInputs(2, CCL_LUTCTRL_INSEL0_IO_Val, CCL_LUTCTRL_INSEL0_IO_Val, CCL_LUTCTRL_INSEL0_IO_Val);
return 0;
}
void CCL_Disable(void)
Disables the CCL module.
void CCL_ConfigureSequencer(uint8_t seq_index, uint8_t seq_type)
Configures the sequencer for a specified index.
void CCL_SetLUTInputs(uint8_t lut_index, uint8_t in0, uint8_t in1, uint8_t in2)
Sets the input sources for a specified LUT.
void CCL_EnableLUTOutput(uint8_t lut_index, bool enable)
Enables or disables the output for a specified LUT.
void CCL_SetLUTEdgeDetect(uint8_t lut_index, uint8_t edge)
Sets the edge detection for a specified LUT.
void CCL_EnableLUTInput(uint8_t lut_index, bool input_enable)
Enables or disables the input for a specified LUT.
void CCL_EnableLUT(uint8_t lut_index, bool enable)
Enables or disables a specified LUT.
void CCL_SetLUTTruthTable(uint8_t lut_index, uint8_t truth_value)
Sets the truth table for a specified LUT.
void CCL_SetLUTFilter(uint8_t lut_index, uint8_t filter)
Sets the filter for a specified LUT.
void CCL_Enable(void)
Enables the CCL module.
void CCL_RunInStandby(bool run_standby)
Configures the CCL to run in standby mode.
Configurable Custom Logic (CCL) Peripheral Library Interface.