![]() |
![]() |
| void CSL_RAC_BEII_disable | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_BEII_disable
Description This function disables the RAC Back End Interrupt Interface (BEII) by writing 0x0 into the RAC_BEII_CTRL register.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the RAC_BEII_CTRL register. The Back End Interrupt Interface is then disabled.
Writes
RAC2_CFG_BEII_ENA_ENABLE=0
Example
...
CSL_RAC_BEII_disable (hRac);
...
| void CSL_RAC_BEII_enable | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_BEII_enable
Description This function enables the RAC Back End Interrupt Interface (BEII) by writing 0x1 into the RAC_BEII_CTRL register.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the RAC_BEII_CTRL register. The Back End Interrupt Interface is then enabled.
Writes
RAC2_CFG_BEII_ENA_ENABLE=1
Example
...
CSL_RAC_BEII_enable (hRac);
...
| void CSL_RAC_BEII_getInterruptStatus | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| CSL_RAC_BEII_interruptStatus * | cpuIntStatus | |||
| ) |
============================================================================
CSL_RAC_BEII_getInterruptStatus
Description This function reads the BEII Interrupt Status for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
cpuId - Which CPU interrupt controller to configure.
Return Value CSL_RAC_BEII_interruptStatus.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the RAC_BEII_INT_STATx register.
Reads
RAC2_CFG_BEII_INT_STAT_GCCP1_WD_STAT, RAC2_CFG_BEII_INT_STAT_GCCP0_WD_STAT, RAC2_CFG_BEII_INT_STAT_FE_WD_STAT, RAC2_CFG_BEII_INT_STAT_ODBT_RD_PTR_STAT, RAC2_CFG_BEII_INT_STAT_OBBT_RD_PTR_STAT, RAC2_CFG_BEII_INT_STAT_EOT_STAT, RAC2_CFG_BEII_INT_STAT_GCCP1_SEQ_STAT, RAC2_CFG_BEII_INT_STAT_GCCP1_FIFO_OVER_STAT, RAC2_CFG_BEII_INT_STAT_GCCP1_CYC_OVER_STAT, RAC2_CFG_BEII_INT_STAT_GCCP0_SEQ_STAT, RAC2_CFG_BEII_INT_STAT_GCCP0_FIFO_OVER_STAT, RAC2_CFG_BEII_INT_STAT_GCCP0_CYC_OVER_STAT
Example
Uint8 cpuId = 0;
CSL_RAC_BEII_interruptStatus intStatus;
...
CSL_RAC_BEII_getInterruptStatus (hRac, cpuId, &intStatus);
...
| void CSL_RAC_BEII_setBetiEotMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setBetiEotMask
Description This function configures the Back End End-Of-Transfer Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_EOT_ENA
Example
Uint8 cpuId = 0;
CSL_RAC_BEII_interrupt intMask;
...
intMask = CSL_RAC_BEII_interrupt_Enable;
CSL_RAC_BEII_setBetiEotMask (hRac, cpuId, intMask);
...
| void CSL_RAC_BEII_setBetiObbtRdCrossingMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setBetiObbtRdCrossingMask
Description This function configures the Back End OBBT Read Pointer Crossing Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_OBBT_RD_PTR_ENA
Example
Uint8 cpuId = 0;
CSL_RAC_BEII_interrupt intMask;
...
intMask = CSL_RAC_BEII_interrupt_Enable;
CSL_RAC_BEII_setBetiObbtRdCrossingMask (hRac, cpuId, intMask);
...
| void CSL_RAC_BEII_setBetiOdbtRdCrossingMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setBetiOdbtRdCrossingMask
Description This function configures the Back End ODBT Read Pointer Crossing Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_ODBT_RD_PTR_ENA
Example
Uint8 cpuId = 0;
CSL_RAC_BEII_interrupt intMask;
...
intMask = CSL_RAC_BEII_interrupt_Enable;
CSL_RAC_BEII_setBetiOdbtRdCrossingMask (hRac, cpuId, intMask);
...
| void CSL_RAC_BEII_setBeWatchDogMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| Uint8 | gccpId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setBeWatchDogMask
Description This function configures the Back End Min Activity Watch Dog Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
gccpId - Which Gccp source to enable.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_GCCP0_WD_ENA; RAC2_CFG_BEII_INT_MSK_GCCP1_WD_ENA
Example
Uint8 cpuId = 0;
Uint8 gccpId = 0;
CSL_RAC_BEII_interrupt intMask;
intMask = CSL_RAC_BEII_interrupt_Disable;
CSL_RAC_BEII_setBeWatchDogMask (hRac, cpuId, gccpId, intMask);
...
| void CSL_RAC_BEII_setCycleOverflowMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| Uint8 | gccpId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setCycleOverflowMask
Description This function configures the Cycle Overflow Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
gccpId - Which Gccp source to enable.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_GCCP0_CYC_OVER_ENA; RAC2_CFG_BEII_INT_MSK_GCCP1_CYC_OVER_ENA
Example
Uint8 cpuId = 0;
Uint8 gccpId = 0;
CSL_RAC_BEII_interrupt intMask;
intMask = CSL_RAC_BEII_interrupt_Disable;
CSL_RAC_BEII_setCycleOverflowMask (hRac, cpuId, gccpId, intMask);
...
| void CSL_RAC_BEII_setFeWatchDogMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setFeWatchDogMask
Description This function configures the Front End Watch Dog Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_FE_WD_ENA
Example
Uint8 cpuId = 0;
CSL_RAC_BEII_interrupt intMask;
...
intMask = CSL_RAC_BEII_interrupt_Enable;
CSL_RAC_BEII_setFeWatchDogMask (hRac, cpuId, intMask);
...
| void CSL_RAC_BEII_setFifoOverflowMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| Uint8 | gccpId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setFifoOverflowMask
Description This function configures the FIFO Overflow Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
gccpId - Which Gccp source to enable.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_GCCP0_FIFO_OVER_ENA; RAC2_CFG_BEII_INT_MSK_GCCP1_FIFO_OVER_ENA
Example
Uint8 cpuId = 0;
Uint8 gccpId = 0;
CSL_RAC_BEII_interrupt intMask;
intMask = CSL_RAC_BEII_interrupt_Disable;
CSL_RAC_BEII_setFifoOverflowMask (hRac, cpuId, gccpId, intMask);
...
| void CSL_RAC_BEII_setMasterMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| CSL_RAC_BEII_interrupt | cpuIntContrlEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setMasterMask
Description This function configures the BEII Master Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
cpuIntContrlEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the RAC_BEII_MINT_ENA register.
Writes
RAC2_CFG_BEII_MINT_ENA_DSP0_INT_ENA; RAC2_CFG_BEII_MINT_ENA_DSP1_INT_ENA; RAC2_CFG_BEII_MINT_ENA_DSP2_INT_ENA; RAC2_CFG_BEII_MINT_ENA_DSP3_INT_ENA
Example
Uint8 cpuId = 0;
CSL_RAC_BEII_interrupt intCtrlEnable;
...
intCtrlEnable = CSL_RAC_BEII_interrupt_Enable;
CSL_RAC_BEII_setMasterMask (hRac, cpuId, intCtrlEnable);
...
| void CSL_RAC_BEII_setSequencerIdleMask | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId, | |||
| Uint8 | gccpId, | |||
| CSL_RAC_BEII_interrupt | interruptEnable | |||
| ) |
============================================================================
CSL_RAC_BEII_setSequencerIdleMask
Description This function configures the Sequencer Idle Mask for the specified cpu interrupt controller.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
cpuId - Which CPU interrupt controller to configure.
gccpId - Which Gccp source to enable.
interruptEnable - CSL_RAC_BEII_interrupt_Disable: no interrupt is sent to the specified interrupt controller.
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the corresponding RAC_BEII_INT_MSK[cpuId] register.
Writes
RAC2_CFG_BEII_INT_MSK_GCCP0_SEQ_ENA; RAC2_CFG_BEII_INT_MSK_GCCP1_SEQ_ENA
Example
Uint8 cpuId = 0;
Uint8 gccpId = 0;
CSL_RAC_BEII_interrupt intMask;
intMask = CSL_RAC_BEII_interrupt_Disable;
CSL_RAC_BEII_setSequencerIdleMask (hRac, cpuId, gccpId, intMask);
...
| void CSL_RAC_BETI_disable | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_BETI_disable
Description
This function disables the RAC Back End Transfer Interface (BETI) by writing 0x0 into the RAC_BETI_CTRL register.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
Return Value
None
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
The Back End Transfer Interface is then disabled.
Writes
RAC2_CFG_BETI_ENA_ENABLE=0
Affects
RAC2_CFG_BETI_STAT_STATUS=0
Example
...
CSL_RAC_BETI_disable (hRac);
...
| void CSL_RAC_BETI_enable | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_BETI_enable
Description
This function enables the RAC Back End Transfer Interface (BETI) by writing 0x1 into the RAC_BETI_CTRL register.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
Return Value
None
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
The Back End Transfer Interface is then enabled.
Writes
RAC2_CFG_BETI_ENA_ENABLE=1
Affects
RAC2_CFG_BETI_STAT_STATUS=1
Example
...
CSL_RAC_BETI_enable (hRac);
...
| Uint32 CSL_RAC_BETI_getEotInterruptStatus | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | cpuId | |||
| ) |
============================================================================
CSL_RAC_BETI_getEotInterruptStatus
Description This function reads the content of the End-Of-Transfer Interrupt Status register to know which Output Descriptor Buffer has a new descriptor.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value All the EOT Interrupt registers.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_BETI_EOT_STAT[cpuId] register.
Reads
RAC2_CFG_BEII_INT_STAT_EOT_STAT
Example
Uint8 cpuId = 0;
Uint32 status;
...
status = CSL_RAC_BETI_getEotInterruptStatus (hRac, cpuId);
| Uint32 CSL_RAC_BETI_getObbtRdCrossingStatus | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_BETI_getObbtRdCrossingStatus
Description This function reads the content of the OBBT read pointer crossing register.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value All the OBBT Status.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the RAC_BETI_OBBT_STAT register.
Reads
RAC2_CFG_BETI_OBBT_STAT
Example
Uint32 status;
...
status = CSL_RAC_BETI_getObbtRdCrossingStatus (hRac);
| Uint32 CSL_RAC_BETI_getOdbtRdCrossingStatus | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_BETI_getOdbtRdCrossingStatus
Description This function reads the content of the ODBT read pointer crossing register.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value All the ODBT Status.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the RAC_BETI_ODBT_STAT.
Reads
RAC2_CFG_BETI_ODBT_STAT_ODBT
Example
Uint32 status;
...
status = CSL_RAC_BETI_getOdbtRdCrossingStatus (hRac);
| CSL_RAC_BETI_odbtStatusBit CSL_RAC_BETI_getOdbtStatus | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | odbtEntryId | |||
| ) |
============================================================================
CSL_RAC_BETI_getOdbtStatus
Description
This function returns if the corresponding Output Descriptor Buffer has received at least one new output block descriptor.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
odbtEntryId - Which buffer status to get.
Return Value
CSL_RAC_BETI_odbtStatusBit_noNewObd - When no new Output Block Descriptor has been generated for this output buffer. CSL_RAC_BETI_odbtStatusBit_newObd - A new Output Block Descriptor has been written to the buffer.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_BETI_NEW_OBD register and extracts status bit for the given buffer.
Reads
RAC2_CFG_BETI_NEW_OD_ODBT
Affects
RAC2_CFG_BETI_NEW_OD_ODBT
Example
Uint8 entryId = 0;
CSL_RAC_BETI_odbtStatusBit status;
...
status = CSL_RAC_BETI_getOdbtStatus (hRac, entryId);
...
| CSL_RAC_BETI_statusBit CSL_RAC_BETI_getStatus | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_BETI_getStatus
Description
This function returns the BETI status indicating whether the BETI is enabled or not. This function reads the RAC_BETI_STAT register. Reading this register is relevant especially when disabling the BETI. When disabling, a transfer can be in process and the BETI has to complete it before being disabled.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value
CSL_RAC_BETI_statusBit_Disable when BETI is disabled. CSL_RAC_BETI_statusBit_Enable when BETI is enabled.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
None.
Reads
RAC2_CFG_BETI_STAT_STATUS
Example
CSL_RAC_BETI_statusBit status;
...
status = CSL_RAC_BETI_getStatus (hRac);
...
| CSL_RAC_BETI_wdInterruptStatus CSL_RAC_BETI_getWatchDogInterruptStatus | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | gccpId | |||
| ) |
============================================================================
CSL_RAC_BETI_getWatchDogInterruptStatus
Description
This function reads the content of the minimal activity watch dog interrupt status for a given GCCP ID.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates whic RAC to read.
gccpId - Which GCCP minimal activity watch-dog status to read.
Return Value
CSL_RAC_BETI_wdInterruptStatus_NoInt - No interrupt has been generated. CSL_RAC_BETI_wdInterruptStatus_Int - An interrupt has been generated and forwarded to the BEII.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_BETI_MIN_WST[gccpId] register and extracts the interrupt status field.When the user reads the RAC_BETI_MIN_WST[gccpId] register, the interrupt status field is cleared by the H/W.
Reads
RAC2_CFG_BETI_MIN_WST_INT_STAT
Example
Uint8 gccpId = 0;
CSL_RAC_BETI_wdInterruptStatus wdIntStatus;
...
wdIntStatus = CSL_RAC_BETI_getWatchDogInterruptStatus (hRac, gccpId);
...
| Uint32 CSL_RAC_BETI_getWatchDogStatus | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | gccpId | |||
| ) |
============================================================================
CSL_RAC_BETI_getWatchDogStatus
Description
This function reads the content of the minimal activity watch dog decounter for a given GCCP ID.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
gccpId - Which GCCP minimal activity watch-dog decounter to read.
Return Value Uint16
Current value of the decounter.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_BETI_MIN_WST[gccpId] register and extracts the decounter field.
Reads
RAC2_CFG_BETI_MIN_WST_BE_WD_STAT
Example
Uint32 wdStatus;
Uint8 gccpId = 0;
...
wdStatus = CSL_RAC_BETI_getWatchDogStatus (hRac, gccpId);
...
| void CSL_RAC_BETI_setWatchDog | ( | CSL_RAC_Handle | hRac, | |
| Uint16 | nbCyclesToReload | |||
| ) |
============================================================================
CSL_RAC_BETI_setWatchDog
Description
This function configures the minimal activity watch dog in the BETI.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
nbCyclesToReload - Half-word with the value to set in the register.
Return Value
None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
The Back End watch-dogs are now configured. This operation modifies the RAC_BETI_MIN_WCFG register with the nbCyclesToReload value.
Writes
RAC2_CFG_BETI_MIN_WCFG_BE_WD_CFG
Example
uint16 numCycles = 2;
CSL_RAC_BETI_setWatchDog (hRac, numCycles);
...
| void CSL_RAC_HP_FD_CTL_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_HP_FD_CTL_setDataPriority
Description This function configures the High Priority Control Symbols Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the HP_FD_CTL_PRIO register with the priorityVal value.
Writes
RAC2_CFG_HP_FD_CTL_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_HP_FD_CTL_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_HP_FD_CTL_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_HP_FD_CTL_setObdPriority
Description This function configures the High Priority Control Symbols OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the HP_FD_CTL_PRIO register with the priorityVal value.
Writes
RAC2_CFG_HP_FD_CTL_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_HP_FD_CTL_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_HP_FPE_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_HP_FPE_setDataPriority
Description This function configures the High Priority FPE results Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the HP_FPE_PRIO register with the priorityVal value.
Writes
RAC2_CFG_HP_FPE_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_HP_FPE_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_HP_FPE_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_HP_FPE_setObdPriority
Description This function configures the High Priority FPE results OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the HP_FPE_PRIO register with the priorityVal value.
Writes
RAC2_CFG_HP_FPE_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_HP_FPE_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FD_CTL_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FD_CTL_setDataPriority
Description This function configures the Low Priority Control Symbols Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FD_CTL_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FD_CTL_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FD_CTL_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FD_CTL_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FD_CTL_setObdPriority
Description This function configures the Low Priority Control Symbols OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FD_CTL_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FD_CTL_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FD_CTL_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FD_DATA_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FD_DATA_setDataPriority
Description This function configures the Low Priority Data Symbols Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FD_DATA_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FD_DATA_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FD_DATA_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FD_DATA_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FD_DATA_setObdPriority
Description This function configures the Low Priority Data Symbols OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FD_DATA_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FD_DATA_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FD_DATA_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FPE_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FPE_setDataPriority
Description This function configures the Low Priority FPE results Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FPE_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FPE_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FPE_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FPE_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FPE_setObdPriority
Description This function configures the Low Priority FPE results OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FPE_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FPE_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FPE_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FT_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FT_setDataPriority
Description This function configures the Low Priority FT results Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FT_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FT_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FT_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_FT_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_FT_setObdPriority
Description This function configures the Low Priority FT results ODB Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_FT_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_FT_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_FT_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_PD_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_PD_setDataPriority
Description This function configures the Low Priority PD results Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_PD_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_PD_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_PD_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_PD_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_PD_setObdPriority
Description This function configures the Low Priority PD results OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_PD_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_PD_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_PD_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_PM_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_PM_setDataPriority
Description This function configures the Low Priority PM results Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_PM_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_PM_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_PM_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_PM_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_PM_setObdPriority
Description This function configures the Low Priority PM results OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_PM_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_PM_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_PM_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_SIP_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_SIP_setDataPriority
Description This function configures the Low Priority SIP results Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_SIP_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_SIP_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_SIP_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_SIP_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_SIP_setObdPriority
Description This function configures the Low Priority SIP results OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_SIP_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_SIP_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_SIP_setObdPriority (hRac, prioVal);
...
| void CSL_RAC_LP_SPE_setDataPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_SPE_setDataPriority
Description This function configures the Low Priority SPE results Data Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_SPE_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_SPE_PRIO_DATA
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_SPE_setDataPriority (hRac, prioVal);
...
| void CSL_RAC_LP_SPE_setObdPriority | ( | CSL_RAC_Handle | hRac, | |
| Uint8 | priorityVal | |||
| ) |
============================================================================
CSL_RAC_LP_SPE_setObdPriority
Description This function configures the Low Priority SPE results OBD Transfer Priority.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to configure.
priorityVal - Priority values (0 - 7)
Return Value None.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation modifies the LP_SPE_PRIO register with the priorityVal value.
Writes
RAC2_CFG_LP_SPE_PRIO_OBD
Example
Uint8 prioVal = 1;
...
CSL_RAC_LP_SPE_setObdPriority (hRac, prioVal);
...
| Uint32 CSL_RAC_Stats_getCfgReadAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getCfgReadAccess
Description This function reads the content of the statistics register for the total number of read data phases used by the Configuration interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC2_CFG_READ_REG register.
Reads
RAC2_CFG_CFG_READ_RD_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getCfgReadAccess (hRac);
...
| Uint32 CSL_RAC_Stats_getCfgTotalAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getCfgTotalAccess
Description This function reads the content of the statistics register for the total number of data phases used by the Configuration interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC2_CFG_TOT_REG register.
Reads
RAC2_CFG_CFG_TOT_TOT_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getCfgTotalAccess (hRac);
...
| Uint32 CSL_RAC_Stats_getCfgWriteAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getCfgWriteAccess
Description This function reads the content of the statistics register for the total number of write data phases used by the Configuration interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC2_CFG_WRITE_REG register.
Reads
RAC2_CFG_CFG_WRIT_WR_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getCfgWriteAccess (hRac);
...
| Uint32 CSL_RAC_Stats_getMasterHighPrioAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getMasterHighPrioAccess
Description This function reads the content of the statistics register for the total number of data phases used by the high priority master interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_MST_HP_TOT_REG register.
Reads
RAC2_CFG_MST_TOT_HP_TOT_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getMasterHighPrioAccess (hRac);
...
| Uint32 CSL_RAC_Stats_getMasterLowPrioAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getMasterLowPrioAccess
Description This function reads the content of the statistics register for the total number of data phases used by the low priority master interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_MST_LP_TOT_REG register.
Reads
RAC2_CFG_MST_TOT_LP_TOT_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getMasterLowPrioAccess (hRac);
...
| Uint32 CSL_RAC_Stats_getSlaveReadAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getSlaveReadAccess
Description This function reads the content of the statistics register for the total number of read data phases used by the DMA Slave interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_SLV_READ_REG register.
Reads
RAC2_CFG_SLV_READ_RD_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getSlaveReadAccess (hRac);
...
| Uint32 CSL_RAC_Stats_getSlaveTotalAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getSlaveTotalAccess
Description This function reads the content of the statistics register for the total number of data phases used by the DMA slave interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_SLV_TOT_REG register.
Reads
RAC2_CFG_SLV_TOT_TOT_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getSlaveTotalAccess (hRac);
...
| Uint32 CSL_RAC_Stats_getSlaveWriteAccess | ( | CSL_RAC_Handle | hRac | ) |
============================================================================
CSL_RAC_Stats_getSlaveWriteAccess
Description This function reads the content of the statistics register for the total number of write data phases used by the DMA Slave interface.
Arguments
hRac - RAC instance handle returned by successful CSL_RAC_open (). Indicates which RAC to read.
Return Value The value of the register.
Pre Condition
CSL_RAC_open () must be called to retrieve a valid handle before calling this API.
Post Condition
This operation reads the corresponding RAC_SLV_WRITE_REG register.
Reads
RAC2_CFG_SLV_WRIT_WR_ACC_NB
Example
Uint32 stats;
...
stats = CSL_RAC_Stats_getSlaveWriteAccess (hRac);
...