- 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:
parent
ae18581dd9
commit
45937b8179
|
@ -84,6 +84,11 @@ static const sama_pio_init_t sama_inits[] = {
|
||||||
SAMA_PIN_N(PIOB_USER_PB),
|
SAMA_PIN_N(PIOB_USER_PB),
|
||||||
SAMA_PIO_FUNC_GPIO | SAMA_PIO_DIR_INPUT | SAMA_PIO_PUEN | SAMA_PIO_SCHMITT,
|
SAMA_PIO_FUNC_GPIO | SAMA_PIO_DIR_INPUT | SAMA_PIO_PUEN | SAMA_PIO_SCHMITT,
|
||||||
SAMA_PIO_HIGH},
|
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*/
|
/* list terminated*/
|
||||||
{-1, 0, 0, 0}
|
{-1, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
|
@ -181,8 +181,8 @@
|
||||||
|
|
||||||
#define PIOD_PIO0 0U
|
#define PIOD_PIO0 0U
|
||||||
#define PIOD_PIN1 1U
|
#define PIOD_PIN1 1U
|
||||||
#define PIOD_PIN2 2U
|
#define PIOD_URXD1 2U
|
||||||
#define PIOD_PIN3 3U
|
#define PIOD_UTXD1 3U
|
||||||
#define PIOD_PIN4 4U
|
#define PIOD_PIN4 4U
|
||||||
#define PIOD_PIN5 5U
|
#define PIOD_PIN5 5U
|
||||||
#define PIOD_PIN6 6U
|
#define PIOD_PIN6 6U
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file SAMA5D2x/hal_tc_lld.c
|
* @file SAMA5D2x/hal_tc_lld.c
|
||||||
* @brief SAMA TC subsystem low level driver header.
|
* @brief SAMA TC support code.
|
||||||
*
|
*
|
||||||
* @addtogroup TC
|
* @addtogroup TC
|
||||||
* @{
|
* @{
|
||||||
|
@ -384,8 +384,6 @@ void tcChangeChannelFrequency(TCDriver *tcp,
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @brief TC Driver initialization.
|
* @brief TC Driver initialization.
|
||||||
* @note This function is implicitly invoked by @p halInit(), there is
|
|
||||||
* no need to explicitly initialize the driver.
|
|
||||||
*
|
*
|
||||||
* @init
|
* @init
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -353,3 +353,5 @@ extern "C" {
|
||||||
#endif /* HAL_USE_TC */
|
#endif /* HAL_USE_TC */
|
||||||
|
|
||||||
#endif /* HAL_TC_LLD_H */
|
#endif /* HAL_TC_LLD_H */
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
Loading…
Reference in New Issue