Issue #3427: modify accelerometer register codes with new event manager

Modify accelerometer register codes with new event manager