Add more documents.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Update core.c and motor.c

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>