co_register co_register_create(const char *name, co_type type);
This function creates a register object. This function must be called from within the configuration function of your application.
The arguments for co_register_create are as follows:
A pointer to the created register. This return value may subsequently be used as an argument to function co_process_create. It returns NULL and sets co_errno to CO_ENOERROR if the type argument is NULL.
Register names, as specified in the first argument to co_register_create, must be unique across the application when using the Application Monitor.