mega2560 update
Power management finalization
This commit is contained in:
@@ -79,12 +79,12 @@
|
||||
#define PAUSE_PPMIN_INTERRUPT() TIMSK3 &= ~(1<<ICIE3)
|
||||
#define RESUME_PPMIN_INTERRUPT() TIMSK3 |= (1<<ICIE3)
|
||||
|
||||
#define SLAVE_MODE() (PINH & (1<<INP_H_RF_POW))
|
||||
#define SLAVE_MODE() ~PINH & (1<<INP_H_RF_POW)
|
||||
#define JACK_PPM_OUT() PORTB |= (1<<OUT_B_SIM_CTL)
|
||||
#define JACK_PPM_IN() PORTB &= ~(1<<OUT_B_SIM_CTL)
|
||||
#define __BACKLIGHT_ON PORTC |= (1 << OUT_C_LIGHT)
|
||||
#define __BACKLIGHT_OFF PORTC &= ~(1 << OUT_C_LIGHT)
|
||||
#define IS_BACKLIGHT_ON() (PORTC & (1<<OUT_C_LIGHT))
|
||||
#define __BACKLIGHT_ON PORTC |= (1<<OUT_C_LIGHT)
|
||||
#define __BACKLIGHT_OFF PORTC &= ~(1<<OUT_C_LIGHT)
|
||||
#define IS_BACKLIGHT_ON() PORTC &= (1<<OUT_C_LIGHT)
|
||||
|
||||
// SD driver
|
||||
#define sdDone()
|
||||
|
||||
Reference in New Issue
Block a user