Functions

gazell/nrf24lu1/gzll_mcu.c File Reference

Implementation of Gazell Link Layer nRF24LU1+ specific functions. More...

#include "gzll.h"

Go to the source code of this file.

Functions

void mcu_init ()
 Initializes the MCU for Gazell.
void gzll_set_timer_period (uint16_t period)

Detailed Description

Implementation of Gazell Link Layer nRF24LU1+ specific functions.

Definition in file gzll_mcu.c.


Function Documentation

void mcu_init ( void   )

Initializes the MCU for Gazell.

Definition at line 21 of file gzll_mcu.c.

{
  RF = 1;                                       // Radio IRQ enable
  
  CE_LOW();
  RFCTL = 0x10;                                 // RF SPI Enable 
   
  T2CON = 0x10;                                 // Reload mode 0, osc / 12 
  T2I0 = 1;                                     // Start Timer2
}