/* Set System Memory Planar Y, U and V Base Address Registers.  */
void CAP_SetPlanarBuf(CAP_T *VCAP, uint32_t u32YAddr, uint32_t u32UAddr, uint32_t u32VAddr)
/* Set System Memory Planar Y, U and V Base Address Registers.  */
void CAP_SetPlanarBuf(CAP_T *VCAP, uint32_t u32YAddr, uint32_t u32UAddr, uint32_t u32VAddr)
{
    VCAP->YBA = u32YAddr;
    VCAP->UBA = u32UAddr;
    VCAP->VBA = u32VAddr;
    VCAP->CTL |= CAP_CTL_UPDATE_Msk;
}