iLLD_TC27xD
1.0
General rules
Always use curly braces for if, for, while, do, ...
Correct:
static
void
IfxDma_Dma_configureTransactionSet(Ifx_DMA_CH* channel,
IfxDma_Dma_ChannelConfig
* config)
{
...
if
( config->
shadowControl
!= 0)
{
channel->SHADR.U = config->
shadowAddress
;
}
}
Wrong:
static
void
IfxDma_Dma_configureTransactionSet(Ifx_DMA_CH* channel,
IfxDma_Dma_ChannelConfig
* config)
{
...
if
( config->
shadowControl
!= 0)
channel->SHADR.U = config->
shadowAddress
;
}
[
Previous page
] [
Next page
]
Generated by
1.8.4