src/drivers/ssd_pigpio.c
/* ========================================================================== */
/**
 * @details This function implements the following objectives:
 *		-# Initialise the pigpio library.
 *
 * @retval STATUS_OK If the interface to the pigpio was successfully
 * initialised.
 * @retval STATUS_NOT_INITIALISED If the pigpio library failed to be
 * successfully initialised.
 * ========================================================================== */
@details This function implements the following objectives:
-# Initialise the pigpio library.

@retval STATUS_OK If the interface to the pigpio was successfully
initialised.
@retval STATUS_NOT_INITIALISED If the pigpio library failed to be
successfully initialised.
@details This function implements the following objectives : - # Initialise the pigpio library . @retval STATUS_OK If the interface to the pigpio was successfully initialised . @retval STATUS_NOT_INITIALISED If the pigpio library failed to be successfully initialised .
status_t pigpio_init(void) {
	if (gpioInitialise() < STATUS_OK) {
		m_PigpioInitialised = false;
		LOG_TO_STDERR();
		return STATUS_NOT_INITIALISED;
	} else {
		m_PigpioInitialised = true;
		return STATUS_OK;
	}
}
status_t pigpio_init ( void ) { if ( gpioInitialise ( ) < STATUS_OK ) { m_PigpioInitialised = false ; LOG_TO_STDERR ( ) ; return STATUS_NOT_INITIALISED ; } else { m_PigpioInitialised = true ; return STATUS_OK ; } }
@details This function implements the following objectives:
              -# Initialise the pigpio library.
@details This function implements the following objectives : - # Initialise the pigpio library .