Add function definitions and also test unit for peripheral module