sketchbook
|
#include <avr/io.h>
#include <avr/interrupt.h>
#include "pgm.h"
#include <string.h>
#include "onewire.h"
#include "features.h"
#include "moat.h"
#include "dev_data.h"
#include "debug.h"
#include "moat_internal.h"
#include "port.h"
#include "pwm.h"
#include "count.h"
#include "console.h"
#include "timer.h"
#include "crc.h"
Macros | |
#define | _1W_READ_GENERIC 0xF2 |
#define | _1W_WRITE_GENERIC 0xF4 |
#define | dispatch moat_calls |
#define | tc_max TC_MAX |
Functions | |
void | end_transmission (uint16_t crc) |
void | moat_poll (void) |
void | moat_init (void) |
void | do_command (uint8_t cmd) |
void | update_idle (uint8_t bits) |
void | init_state (void) |
void | mainloop (void) |
Variables | |
uint8_t | moat_buf [MAXBUF] |
#define _1W_READ_GENERIC 0xF2 |
#define _1W_WRITE_GENERIC 0xF4 |
#define dispatch moat_calls |
#define tc_max TC_MAX |
void do_command | ( | uint8_t | cmd | ) |
void end_transmission | ( | uint16_t | crc | ) |
void init_state | ( | void | ) |
void mainloop | ( | void | ) |
void moat_init | ( | void | ) |
void moat_poll | ( | void | ) |
void update_idle | ( | uint8_t | bits | ) |
uint8_t moat_buf[MAXBUF] |