/* Init_Ports DESC: Calls other methods to initialize pins on each port ARGS: None RET: None */ void Init_Ports() { Init_Port1(); Init_Port2(); Init_Port3(); Init_Port4(); Init_PortJ(); }
void Init_Ports(void){ //============================================================================ // Function name: Init_Ports // // Description: This function calls the rest of the initialization functions. // // Passed : no variables passed // Locals: no variables declared // Returned: no values returned // Globals: N/A // // Benjamin Tang // Date: Sept 2016 // Built with IAR Embedded Workbench Version: 6.50.1 //============================================================================ Init_Port1(); Init_Port2(); Init_Port3(); Init_Port4(); Init_PortJ(); }
void Init_Ports(void){ // //============================================================================== // PORT configuration: // // Description: This function runs the individual port initializes // // Passed : no variables passed // Locals: no variables declared // Returned: no values returned // Globals: none // // Author: David Pryor // Date: Feb 2016 // Compiler: Built with IAR Embedded Workbench Version: V4.10A/W32 (6.4.1) //============================================================================== // MACROS // USE_SMCLK (0x01) // configures all ports Init_Port1(); Init_Port2(); Init_Port3(); Init_Port4(); Init_PortJ(USE_SMCLK); }