Use READ_REGISTER to read custom register on sensors
I am currently going through the CPP functions and try to create some functions, one thing I want to do is to read the BOSCH POWER_MODE register (namely, the PWR_CTRL and PWR_CONF registers). I see that some of the CPP reading function is done through SEND_COMMAND with READ_REGISTER(ORDINAL(register_id)) as parameters. For example, the [read_accelerometer_bosch_acceleration_config] function in Cpp SDK set the context and callback to the states variable, the send READ_REGISTER command to retrieve config data.
My question is that how should we setup our own callbacks for other registers in Cpp SDK? Is there specific callback naming we should use?