cleaned up types. set D5 as not a PWM pin for now.

This commit is contained in:
Zach Eveland 2011-08-11 14:16:13 -04:00
parent 4c537c1b6d
commit be087d96dc
1 changed files with 17 additions and 17 deletions

View File

@ -129,31 +129,31 @@ const static uint8_t A7 = 21;
const uint16_t PROGMEM port_to_mode_PGM[] = { const uint16_t PROGMEM port_to_mode_PGM[] = {
NOT_A_PORT, NOT_A_PORT,
NOT_A_PORT, NOT_A_PORT,
&DDRB, (uint16_t) &DDRB,
&DDRC, (uint16_t) &DDRC,
&DDRD, (uint16_t) &DDRD,
&DDRE, (uint16_t) &DDRE,
&DDRF, (uint16_t) &DDRF,
}; };
const uint16_t PROGMEM port_to_output_PGM[] = { const uint16_t PROGMEM port_to_output_PGM[] = {
NOT_A_PORT, NOT_A_PORT,
NOT_A_PORT, NOT_A_PORT,
&PORTB, (uint16_t) &PORTB,
&PORTC, (uint16_t) &PORTC,
&PORTD, (uint16_t) &PORTD,
&PORTE, (uint16_t) &PORTE,
&PORTF, (uint16_t) &PORTF,
}; };
const uint16_t PROGMEM port_to_input_PGM[] = { const uint16_t PROGMEM port_to_input_PGM[] = {
NOT_A_PORT, NOT_A_PORT,
NOT_A_PORT, NOT_A_PORT,
&PINB, (uint16_t) &PINB,
&PINC, (uint16_t) &PINC,
&PIND, (uint16_t) &PIND,
&PINE, (uint16_t) &PINE,
&PINF, (uint16_t) &PINF,
}; };
const uint8_t PROGMEM digital_pin_to_port_PGM[18] = { const uint8_t PROGMEM digital_pin_to_port_PGM[18] = {
@ -210,8 +210,8 @@ const uint8_t PROGMEM digital_pin_to_timer_PGM[18] = {
NOT_ON_TIMER, NOT_ON_TIMER,
TIMER0B, TIMER0B,
NOT_ON_TIMER, NOT_ON_TIMER,
TIMER4D, NOT_ON_TIMER, // TIMER4D TODO - ZE - Fix this when there's a decision on what to do about these PWM pins
NOT_ON_TIMER, // TIMER4D_NOT TODO. Complementary output of TIMER4D on Digital Pin 6. Not sure this was intended. NOT_ON_TIMER, // TIMER4D_NOT TODO - ZE - Complementary output of TIMER4D on Digital Pin 6. Not sure this was intended.
NOT_ON_TIMER, NOT_ON_TIMER,
NOT_ON_TIMER, /* 8 port B */ NOT_ON_TIMER, /* 8 port B */