doxygen

add doxygen support for encoder