k8055m_init, k8055m_exit -- Library initialization and cleanup
k8055-pic18f access library
#include "k8055m.h" int k8055m_init(void); void k8055m_exit(void);
k8055m_init() initializes platform dependant objects like USB communication. It should be called once per
process before calling any other k8055m function.
k8055m_exit() closes all open boards, frees all resources and cleans up platform
dependant objects. It should be called before program termination if k8055m_init() was called.
k8055m_init() returns 0 on success, -1 on error.