SRAM 写入程序
void SRAM_WriteBuffer(uint16_t *writeBuf, uint32_t writeAddr, uint32_t
length)
{
while(length--) /*!< while there is data to write */
{
/*!< Transfer data to the memory */
*(uint16_t *) (Bank1_SRAM3_ADDR + writeAddr) = *writeBuf++;
/* 十六位长度的是地址+2 */
writeAddr += 2;
}
}