读寄存器值: u32RegValue = *((uint32 volatile *)(reg_addres)); 写寄存器值: *((uint32 volatile *)(reg_addres)) = value;