예제 #1
0
/*
** ===================================================================
**     Event       :  VS1_OnActivateSPI (module Events)
**
**     Component   :  VS1 [VS1053]
**     Description :
**         Event called before activating SPI bus
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void VS1_OnActivateSPI(void)
{
  SPIBus_OnActivate();
}
예제 #2
0
/*
** ===================================================================
**     Event       :  SD1_OnActivate (module Events)
**
**     Component   :  SD1 [SD_Card]
**     Description :
**         Event called when Activate() method is called. This gives an
**         opportunity to the application to synchronize access to a
**         shared bus.
**     Parameters  :
**         NAME            - DESCRIPTION
**         mode            - 0: slow mode, 1: fast mode
**     Returns     : Nothing
** ===================================================================
*/
void SD1_OnActivate(byte mode)
{
  SPIBus_OnActivate();
}
예제 #3
0
/*
** ===================================================================
**     Event       :  SD1_OnActivate (module Events)
**
**     Component   :  SD1 [SD_Card]
**     Description :
**         Event called when Activate() method is called. This gives an
**         opportunity to the application to synchronize access to a
**         shared bus.
**     Parameters  :
**         NAME            - DESCRIPTION
**         mode            - 0: slow mode, 1: fast mode
**     Returns     : Nothing
** ===================================================================
*/
void SD1_OnActivate(uint8_t mode)
{
  (void)mode;
  SPIBus_OnActivate();
}