void antenna_internal(void)
Select the external (connector) antenna.
#define GPIO_WRITE_PIN(PORT_BASE, PIN_MASK, value)
Set pins with PIN_MASK of port with PORT_BASE to value.
Header file with register and macro declarations for the cc2538 GPIO module.
Header for the OpenMote-CC2538 antenna switch.
void antenna_external(void)
Select the internal (chip) antenna.
void antenna_init(void)
Initialize the antenna switch, by default it uses the external.
#define GPIO_SET_OUTPUT(PORT_BASE, PIN_MASK)
Set pins with PIN_MASK of port with PORT_BASE to output.