Updated SPC563M64 support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4907 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
e4c5ac4205
commit
14dd40b4ff
|
@ -24,8 +24,8 @@
|
|||
#if HAL_USE_PAL || defined(__DOXYGEN__)
|
||||
/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
|
||||
static const spc_siu_init_t spc_siu_init[] = {
|
||||
{PCR(PORT4, P4_ESCI_A_TX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
|
||||
{PCR(PORT4, P4_ESCI_A_RX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
|
||||
{PCR(PORT5, P5_ESCI_A_TX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
|
||||
{PCR(PORT5, P5_ESCI_A_RX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
|
||||
{PCR(PORT11, P11_BUTTON1), PAL_LOW, PAL_MODE_INPUT},
|
||||
{PCR(PORT11, P11_BUTTON2), PAL_LOW, PAL_MODE_INPUT},
|
||||
{PCR(PORT11, P11_BUTTON3), PAL_LOW, PAL_MODE_INPUT},
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
/*
|
||||
* I/O definitions.
|
||||
*/
|
||||
#define P4_ESCI_A_TX 9
|
||||
#define P4_ESCI_A_RX 10
|
||||
#define P5_ESCI_A_TX 9
|
||||
#define P5_ESCI_A_RX 10
|
||||
|
||||
#define P11_BUTTON1 3
|
||||
#define P11_BUTTON2 5
|
||||
|
|
|
@ -100,8 +100,7 @@
|
|||
/**
|
||||
* @brief Alternate "n" output pad.
|
||||
*/
|
||||
#define PAL_MODE_OUTPUT_ALTERNATE(n) (PAL_SPC5_IBE | PAL_SPC5_OBE | \
|
||||
PAL_SPC5_PA(n))
|
||||
#define PAL_MODE_OUTPUT_ALTERNATE(n) (PAL_SPC5_IBE | PAL_SPC5_PA(n))
|
||||
/** @} */
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue