Contiki-NG
Functions
CC1352P_4_LAUNCHXL.h File Reference

=========================================================================== More...

#include "contiki-conf.h"
#include <ti/drivers/PIN.h>
#include <ti/devices/DeviceFamily.h>
#include <DeviceFamily_constructPath(driverlib/ioc.h)>

Go to the source code of this file.

Functions

void CC1352P_4_LAUNCHXL_initGeneral (void)
 Initialize the general board specific settings. More...
 
void CC1352P_4_LAUNCHXL_shutDownExtFlash (void)
 Shut down the external flash present on the board files. More...
 
void CC1352P_4_LAUNCHXL_wakeUpExtFlash (void)
 Wake up the external flash present on the board files. More...
 
void CC1352P_4_LAUNCHXL_initAntennaSwitch (void)
 Initializes the antenna switch IOs. More...
 

Detailed Description

===========================================================================

CC1352P_4_LAUNCHXL Board Specific header file.

The CC1352P_4_LAUNCHXL header file should be included in an application as follows:


Definition in file CC1352P_4_LAUNCHXL.h.

Function Documentation

◆ CC1352P_4_LAUNCHXL_initAntennaSwitch()

void CC1352P_4_LAUNCHXL_initAntennaSwitch ( void  )

Initializes the antenna switch IOs.

This function sets up the antenna switch and occupies the necessary IO pins. After calling this function, they cannot be used in the application anymore.

◆ CC1352P_4_LAUNCHXL_initGeneral()

void CC1352P_4_LAUNCHXL_initGeneral ( void  )

Initialize the general board specific settings.

This function initializes the general board specific settings.

Definition at line 938 of file CC1352P_4_LAUNCHXL.c.

◆ CC1352P_4_LAUNCHXL_shutDownExtFlash()

void CC1352P_4_LAUNCHXL_shutDownExtFlash ( void  )

Shut down the external flash present on the board files.

This function bitbangs the SPI sequence necessary to turn off the external flash on LaunchPads.

Definition at line 119 of file CC1352P_4_LAUNCHXL_fxns.c.

References CC1352P_4_LAUNCHXL_wakeUpExtFlash().

◆ CC1352P_4_LAUNCHXL_wakeUpExtFlash()

void CC1352P_4_LAUNCHXL_wakeUpExtFlash ( void  )

Wake up the external flash present on the board files.

This function toggles the chip select for the amount of time needed to wake the chip up.

Definition at line 89 of file CC1352P_4_LAUNCHXL_fxns.c.

Referenced by CC1352P_4_LAUNCHXL_shutDownExtFlash().