/* Registers a callback. 
Registers a callback function which is implemented by the user. */
enum status_code slcd_register_callback(const slcd_callback_t callback, const enum slcd_callback_type type)
/* Registers a callback. 
Registers a callback function which is implemented by the user. */
enum status_code slcd_register_callback(const slcd_callback_t callback, const enum slcd_callback_type type)
{
	if (type >= SLCD_CALLBACK_TYPE_NUM){
		return STATUS_ERR_INVALID_ARG;
	}
	slcd_callback_pointer[type] = callback;
	return STATUS_OK;
}