Files
Last update 7 years 9 months
by
ivanfeofanov
Filesrobotportableatmega328 | |
---|---|
.. | |
adc_man.cpp | |
adc_man.h | |
mower_motor.h | |
pio.h | |
time.cpp | |
time.h | |
twi_master.cpp | |
twi_master.h | |
uart.cpp | |
uart.h |
twi_master.cpp#include "twi_master.h" extern uint8_t* TwiMaster::transfer_buffer_; extern uint8_t TwiMaster::transfer_buffer_size_; extern uint8_t TwiMaster::transfer_buffer_current_index_; extern uint8_t TwiMaster::slave_address_; extern uint8_t* TwiMaster::receive_buffer_; extern uint8_t TwiMaster::receive_buffer_size_; extern uint8_t TwiMaster::receive_buffer_current_index_; extern volatile uint8_t TwiMaster::status_; // extern volatile uint8_t TwiMaster::work_log_[20]; // extern volatile uint8_t TwiMaster::work_log_index_; ISR(TWI_vect) { TwiMaster::interruptHandler(); }