Ports library definitions.
More...
#include "Ports.h"
#include <avr/sleep.h>
#include <util/atomic.h>
|
|
#define | MODE_CHANGE 0x80 |
| |
|
#define | DIG_CHANGE 0x40 |
| |
|
#define | PWM_CHANGE 0x30 |
| |
|
#define | ANA_MASK 0x0F |
| |
|
#define | RHR (0 << 3) |
| |
|
#define | THR (0 << 3) |
| |
|
#define | DLL (0 << 3) |
| |
|
#define | DLH (1 << 3) |
| |
|
#define | FCR (2 << 3) |
| |
|
#define | LCR (3 << 3) |
| |
|
#define | RXLVL (9 << 3) |
| |
|
#define | LUX_SCALE 14 |
| |
|
#define | RATIO_SCALE 9 |
| |
|
#define | CH_SCALE 10 |
| |
|
#define | WDTCSR WDTCR |
| |
Ports library definitions.