Subversion Repositories svn.mios

Rev

Rev 167 | Rev 286 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 167 Rev 285
Line 1... Line 1...
1
// $Id: main.c 167 2008-03-03 20:04:49Z tk $
1
// $Id: main.c 285 2008-04-23 20:31:07Z tk $
2
/*
2
/*
3
 * MIOS SDCC Wrapper
3
 * MIOS SDCC Wrapper
4
 *
4
 *
5
 * ==========================================================================
5
 * ==========================================================================
6
 *
6
 *
Line 127... Line 127...
127
/////////////////////////////////////////////////////////////////////////////
127
/////////////////////////////////////////////////////////////////////////////
128
// This function is called by MIOS when a pot has been moved
128
// This function is called by MIOS when a pot has been moved
129
/////////////////////////////////////////////////////////////////////////////
129
/////////////////////////////////////////////////////////////////////////////
130
void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam
130
void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam
131
{
131
{
-
 
132
}
-
 
133
-
 
134
void high_isr() __interrupt
-
 
135
{
-
 
136
-
 
137
  do {
-
 
138
    if( PIR1bits.RCIF ) {
-
 
139
      Tick();
-
 
140
      continue;
-
 
141
    }
-
 
142
-
 
143
    if( PIE1bits.TXIE && PIR1bits.RCIF ) {
-
 
144
      Tick();
-
 
145
      continue;
-
 
146
    }
-
 
147
-
 
148
    return;
-
 
149
-
 
150
  } while( 1 );
-
 
151
132
}
152
}