/* param base CSI peripheral base address. param index Buffer index. param addr Frame buffer address to set.  */
void CSI_SetRxBufferAddr(CSI_Type *base, uint8_t index, uint32_t addr)
/* param base CSI peripheral base address. param index Buffer index. param addr Frame buffer address to set.  */
void CSI_SetRxBufferAddr(CSI_Type *base, uint8_t index, uint32_t addr)
{
    addr = CSI_ADDR_CPU_2_IP(addr);
    if (0U != index)
    {
        CSI_REG_DMASA_FB2(base) = addr;
    }
    else
    {
        CSI_REG_DMASA_FB1(base) = addr;
    }
}