- Minor changes

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11780 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
edolomb 2018-03-16 15:05:28 +00:00
parent ae18581dd9
commit 45937b8179
5 changed files with 11 additions and 6 deletions

View File

@ -84,6 +84,11 @@ static const sama_pio_init_t sama_inits[] = {
SAMA_PIN_N(PIOB_USER_PB),
SAMA_PIO_FUNC_GPIO | SAMA_PIO_DIR_INPUT | SAMA_PIO_PUEN | SAMA_PIO_SCHMITT,
SAMA_PIO_HIGH},
/* UART1 */
{SAMA_PIOD,
SAMA_PIN_N(PIOD_URXD1) | SAMA_PIN_N(PIOD_UTXD1),
SAMA_PIO_FUNC_PERIPH_A,
SAMA_PIO_HIGH},
/* list terminated*/
{-1, 0, 0, 0}
};

View File

@ -181,8 +181,8 @@
#define PIOD_PIO0 0U
#define PIOD_PIN1 1U
#define PIOD_PIN2 2U
#define PIOD_PIN3 3U
#define PIOD_URXD1 2U
#define PIOD_UTXD1 3U
#define PIOD_PIN4 4U
#define PIOD_PIN5 5U
#define PIOD_PIN6 6U

View File

@ -16,7 +16,7 @@
/**
* @file SAMA5D2x/hal_tc_lld.c
* @brief SAMA TC subsystem low level driver header.
* @brief SAMA TC support code.
*
* @addtogroup TC
* @{
@ -384,8 +384,6 @@ void tcChangeChannelFrequency(TCDriver *tcp,
}
/**
* @brief TC Driver initialization.
* @note This function is implicitly invoked by @p halInit(), there is
* no need to explicitly initialize the driver.
*
* @init
*/

View File

@ -353,3 +353,5 @@ extern "C" {
#endif /* HAL_USE_TC */
#endif /* HAL_TC_LLD_H */
/** @} */