mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Rename tm4c_spi.. to tm4c_ssi..
This commit is contained in:
@@ -145,14 +145,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: tm4c_spidev_initialize
|
* Name: tm4c_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the DK-TM4C129X.
|
* Called to configure SPI chip select GPIO pins for the DK-TM4C129X.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function tm4c_spidev_initialize(void);
|
void weak_function tm4c_ssidev_initialize(void);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: tm4c_led_initialize
|
* Name: tm4c_led_initialize
|
||||||
|
|||||||
@@ -73,15 +73,15 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* tm4c_spidev_initialize() has been brought into the link.
|
* tm4c_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The DK-TM4C129X microSD CS and OLED are on SSI0 */
|
/* The DK-TM4C129X microSD CS and OLED are on SSI0 */
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
||||||
if (tm4c_spidev_initialize)
|
if (tm4c_ssidev_initialize)
|
||||||
{
|
{
|
||||||
tm4c_spidev_initialize();
|
tm4c_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -86,14 +86,14 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: tm4c_spidev_initialize
|
* Name: tm4c_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the DK-TM4C129X.
|
* Called to configure SPI chip select GPIO pins for the DK-TM4C129X.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function tm4c_spidev_initialize(void)
|
void weak_function tm4c_ssidev_initialize(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -182,14 +182,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: tm4c_spidev_initialize
|
* Name: tm4c_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the TM4C123G LaunchPad.
|
* Called to configure SPI chip select GPIO pins for the TM4C123G LaunchPad.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function tm4c_spidev_initialize(void);
|
void weak_function tm4c_ssidev_initialize(void);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: tm4c_led_initialize
|
* Name: tm4c_led_initialize
|
||||||
|
|||||||
@@ -73,15 +73,15 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* tm4c_spidev_initialize() has been brought into the link.
|
* tm4c_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The TM4C123G LaunchPad microSD CS and OLED are on SSI0 */
|
/* The TM4C123G LaunchPad microSD CS and OLED are on SSI0 */
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
||||||
if (tm4c_spidev_initialize)
|
if (tm4c_ssidev_initialize)
|
||||||
{
|
{
|
||||||
tm4c_spidev_initialize();
|
tm4c_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -86,14 +86,14 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: tm4c_spidev_initialize
|
* Name: tm4c_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the TM4C123G LaunchPad.
|
* Called to configure SPI chip select GPIO pins for the TM4C123G LaunchPad.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function tm4c_spidev_initialize(void)
|
void weak_function tm4c_ssidev_initialize(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -134,14 +134,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: tm4c_spidev_initialize
|
* Name: tm4c_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the EK-TM4C1294XL.
|
* Called to configure SPI chip select GPIO pins for the EK-TM4C1294XL.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function tm4c_spidev_initialize(void);
|
void weak_function tm4c_ssidev_initialize(void);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: tm4c_led_initialize
|
* Name: tm4c_led_initialize
|
||||||
|
|||||||
@@ -73,15 +73,15 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* tm4c_spidev_initialize() has been brought into the link.
|
* tm4c_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The DK-TM4C129X microSD CS and OLED are on SSI0 */
|
/* The DK-TM4C129X microSD CS and OLED are on SSI0 */
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
||||||
if (tm4c_spidev_initialize)
|
if (tm4c_ssidev_initialize)
|
||||||
{
|
{
|
||||||
tm4c_spidev_initialize();
|
tm4c_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user