sdk/bsp/board/common/src/cxd56_altmdm_spi.c
/****************************************************************************
 * Name: board_altmdm_power_control
 *
 * Description:
 *   Power on/off the Altair modem device on the board.
 *
 ****************************************************************************/
board_altmdm_power_control
Description:
Power on/off the Altair modem device on the board.
board_altmdm_power_control Description : Power on / off the Altair modem device on the board .
void board_altmdm_power_control(bool en)
{
  if (en)
    {
      board_altmdm_poweron();
      spi_pincontrol(5, true);
    }
  else
    {
      spi_pincontrol(5, false);
      board_altmdm_poweroff();
    }
}
void board_altmdm_power_control ( bool en ) { if ( en ) { board_altmdm_poweron ( ) ; spi_pincontrol ( 5 , true ) ; } else { spi_pincontrol ( 5 , false ) ; board_altmdm_poweroff ( ) ; } }
Name: board_altmdm_power_control
 Description:
   Power on/off the Altair modem device on the board.
Name : board_altmdm_power_control Description : Power on / off the Altair modem device on the board .
/* power on altair modem device */ /* enable the SPI pin */ /* disable the SPI pin */ /* power off Altair modem device */