Functions | |
int32_t | SDL_DCC_configure (SDL_DCC_Inst instance, const SDL_DCC_config *pConfig) |
This API is used to configure DCC module. More... | |
int32_t | SDL_DCC_verifyConfig (SDL_DCC_Inst instance, const SDL_DCC_config *pConfig) |
This API is used to verify the configuration for DCC module. More... | |
int32_t | SDL_DCC_enable (SDL_DCC_Inst instance) |
This API is used to enable the DCC module. More... | |
int32_t | SDL_DCC_disable (SDL_DCC_Inst instance) |
This API is used to disable the DCC module. More... | |
int32_t | SDL_DCC_getStatus (SDL_DCC_Inst instance, SDL_DCC_Status *pStatus) |
This API is used to get the stauts of DCC module. More... | |
int32_t | SDL_DCC_enableIntr (SDL_DCC_Inst instance, SDL_DCC_intrType intr) |
This API is used to Enable the interrupts. More... | |
int32_t | SDL_DCC_clearIntr (SDL_DCC_Inst instance, SDL_DCC_intrType intr) |
This API is used to clear the interrupts. More... | |
int32_t | SDL_DCC_getStaticRegs (SDL_DCC_Inst instance, SDL_DCC_staticRegs *pStaticRegs) |
This API is used to get the value of static registers for DCC module. More... | |
int32_t SDL_DCC_configure | ( | SDL_DCC_Inst | instance, |
const SDL_DCC_config * | pConfig | ||
) |
This API is used to configure DCC module.
instance | Holds the instance for DCC module. |
pConfig | pointer to the DCC config structure |
NOTE: If the value of 'seedValid0' is less then 4 then it will programmed as 4. Since minimum programmable value of the 'seedValid0' is 4.
int32_t SDL_DCC_verifyConfig | ( | SDL_DCC_Inst | instance, |
const SDL_DCC_config * | pConfig | ||
) |
This API is used to verify the configuration for DCC module.
instance | Holds the instance for DCC module. |
pConfig | pointer to the DCC config structure |
int32_t SDL_DCC_enable | ( | SDL_DCC_Inst | instance | ) |
This API is used to enable the DCC module.
instance | Holds the instance for DCC module. |
int32_t SDL_DCC_disable | ( | SDL_DCC_Inst | instance | ) |
This API is used to disable the DCC module.
instance | Holds the instance for DCC module. |
int32_t SDL_DCC_getStatus | ( | SDL_DCC_Inst | instance, |
SDL_DCC_Status * | pStatus | ||
) |
This API is used to get the stauts of DCC module.
instance | Holds the instance for DCC module. |
pStatus | pointer to the SDL_DCC_status structure |
int32_t SDL_DCC_enableIntr | ( | SDL_DCC_Inst | instance, |
SDL_DCC_intrType | intr | ||
) |
This API is used to Enable the interrupts.
instance | Holds the instance for DCC module. |
intr | Interrupts to be enabled. |
int32_t SDL_DCC_clearIntr | ( | SDL_DCC_Inst | instance, |
SDL_DCC_intrType | intr | ||
) |
This API is used to clear the interrupts.
instance | Holds the instance for DCC module. |
intr | Interrupts to disable. |
int32_t SDL_DCC_getStaticRegs | ( | SDL_DCC_Inst | instance, |
SDL_DCC_staticRegs * | pStaticRegs | ||
) |
This API is used to get the value of static registers for DCC module.
instance | Holds the instance for DCC module. |
pStaticRegs | Pointer to the SDL_DCC_staticRegs structure. |