os/hal/ports/SAM3X8E/serial_lld.c
/**
 * @brief   Low level serial driver configuration and (re)start.
 *
 * @param[in] sdp       pointer to a @p SerialDriver object
 * @param[in] config    the architecture-dependent serial driver configuration.
 *                      If this parameter is set to @p NULL then a default
 *                      configuration is used.
 *
 * @notapi
 */
@brief   Low level serial driver configuration and (re)start.

@param[in] sdp       pointer to a @p SerialDriver object
@param[in] config    the architecture-dependent serial driver configuration.
If this parameter is set to @p NULL then a default
configuration is used.

@notapi
@brief Low level serial driver configuration and ( re ) start . @param [ in ] sdp pointer to a @p SerialDriver object @param [ in ] config the architecture - dependent serial driver configuration . If this parameter is set to @p NULL then a default configuration is used . @notapi
void sd_lld_start(SerialDriver *sdp, const SerialConfig *config) {
  if (config == NULL) {
    config = &default_config;
  }
  if (sdp->state == SD_STOP) {
#if SAM3X8E_SERIAL_USE_UART1 == TRUE
    if (&SD1 == sdp) {
    }
#endif
  }
}
void sd_lld_start ( SerialDriver * sdp , const SerialConfig * config ) { if ( config == NULL ) { config = & default_config ; } if ( sdp -> state == SD_STOP ) { #if SAM3X8E_SERIAL_USE_UART1 == TRUE if ( & SD1 == sdp ) { } #endif } }
@brief   Low level serial driver configuration and (re)start.
@brief Low level serial driver configuration and ( re ) start .
/* Configures the peripheral.*/