iLLD_TC23x
1.0
iLLD_TC23x
IFX Low Level Drivers
Introduction
Table Of Contents
General Structure of iLLDs
iLLD APIs
Naming Conventions
Coding rules
Code formating
General rules
Code checking
APIs common to many module drivers
Standard Interface (/If)
Doxygen rules
Files and Configuration
Package versioning
Do's and don't
Modules
Data Structures
Files
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