Enhanced guiding commands support

 - Added a cancel guide function to the driver
 - Replaced the type of the guiding command and duration to uint16_t
 - Replaced the enum for directions for defined macros
Types fix for direction, direction and cmd