SSL_Class_B_Demo.c 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*******************************************************************************
  2. Class B Implementation Demo File
  3. ********************************************************************************
  4. File: SSL_Class_B_Demo.c
  5. Processor: PIC18
  6. Compiler: Microchip MPLAB® C18 v3.41 or higher
  7. Author: Reiling
  8. Created on 13. Juli 2012, 11:50
  9. ******************************************************************************/
  10. #include "SSL_Class_B_Tests.h"
  11. /*******************************************************************************
  12. Pragmas
  13. ******************************************************************************/
  14. #pragma config XINST = OFF
  15. #pragma config FOSC = HS1
  16. #pragma config WDTEN = OFF // OFF // SWDTDIS
  17. #pragma config WDTPS = 256 // WD TimeOut 1024ms
  18. #pragma config SOSCSEL = DIG // Port C, Pin 0 & 1 => Digital
  19. #pragma config PLLCFG = ON
  20. /*******************************************************************************
  21. * Main SSL Demo
  22. ******************************************************************************/
  23. void main( void )
  24. {
  25. uint16_t Class_B_Result = 0;
  26. while(1)
  27. {
  28. Class_B_Result = SSL_Class_B_Tests( );
  29. }
  30. }