COSA
An Object-Oriented Platform for Arduino Programming
CC1101.cpp File Reference
#include "CC1101.hh"
#include "Cosa/Power.hh"
#include "Cosa/RTT.hh"
Include dependency graph for CC1101.cpp:

Go to the source code of this file.

Macros

#define PIN   PINB
 

Variables

const uint8_t CC1101::config[CC1101::CONFIG_MAX__PROGMEM
 

Detailed Description

Version
1.0

License

Copyright (C) 2013-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file CC1101.cpp.

Macro Definition Documentation

#define PIN   PINB

Definition at line 31 of file CC1101.cpp.

Variable Documentation

const uint8_t CC1101::config [CC1101::CONFIG_MAX] __PROGMEM

Default configuration (generated with TI SmartRF Studio tool): Radio: 433 MHz, 38 kbps, GFSK. Whitening, 0 dBm. Packet: Variable packet length with CRC, address check and broadcast(0x00) FIFO: Append link status. Frame: sync(2), length(1), dest(1), payload(max 59), crc(2)

  • Send(62): length(1), dest(1), src(1), payload(max 59)
  • Received(64): length(1), dest(1), src(1), payload(max 59), status(2) Digital Output Pins:
  • GDO2: valid frame received, active low
  • GDO1: high impedance when CSN is high otherwise serial data output
  • GDO0: high impedance, not used

Definition at line 47 of file CC1101.cpp.