How would you write code to directly manipulate registers to configure a hardware peripheral at Benchmark Space Systems?