2 \author Travis Goodspeed
3 \brief Smartcard and SIM application.
5 This module allows for communication with smart cards and SIM cards.
15 #define SCIN (P5IN&BIT2)
17 #define SCINPUT (P5DIR&=~BIT2)
18 #define SCOUTPUT (P5DIR|=BIT2)
20 #define SCH (P5OUT|=BIT2)
21 #define SCL (P5OUT&=~BIT2)
24 #define SCTICK (P5OUT|=BIT3)
25 #define SCTOCK (P5OUT&=~BIT3)
28 //! Setup the smart card mode.
29 void smartcardsetup(){
37 //! Handles a monitor command.
38 int smartcardhandle(unsigned char app,
47 debugstr("Reseting card");
74 debugstr("Unknown smartcard verb.");