SSL_MarchCMinusRamTest.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /**********************************************************************
  2. * © 2010 Microchip Technology Inc.
  3. *
  4. * FileName: MarchCMInusRamTest.h
  5. * Dependencies: Header (.h) files if applicable, see below
  6. * Processor: PIC18
  7. * Compiler: C18 v3.41
  8. *
  9. * SOFTWARE LICENSE AGREEMENT:
  10. * Microchip Technology Incorporated ("Microchip") retains all ownership and
  11. * intellectual property rights in the code accompanying this message and in all
  12. * derivatives hereto. You may use this code, and any derivatives created by
  13. * any person or entity by or on your behalf, exclusively with Microchip's
  14. * proprietary products. Your acceptance and/or use of this code constitutes
  15. * agreement to the terms and conditions of this notice.
  16. *
  17. * CODE ACCOMPANYING THIS MESSAGE IS SUPPLIED BY MICROCHIP "AS IS". NO
  18. * WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
  19. * TO, IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A
  20. * PARTICULAR PURPOSE APPLY TO THIS CODE, ITS INTERACTION WITH MICROCHIP'S
  21. * PRODUCTS, COMBINATION WITH ANY OTHER PRODUCTS, OR USE IN ANY APPLICATION.
  22. *
  23. * YOU ACKNOWLEDGE AND AGREE THAT, IN NO EVENT, SHALL MICROCHIP BE LIABLE, WHETHER
  24. * IN CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE OR BREACH OF STATUTORY DUTY),
  25. * STRICT LIABILITY, INDEMNITY, CONTRIBUTION, OR OTHERWISE, FOR ANY INDIRECT, SPECIAL,
  26. * PUNITIVE, EXEMPLARY, INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, FOR COST OR EXPENSE OF
  27. * ANY KIND WHATSOEVER RELATED TO THE CODE, HOWSOEVER CAUSED, EVEN IF MICROCHIP HAS BEEN
  28. * ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT
  29. * ALLOWABLE BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO
  30. * THIS CODE, SHALL NOT EXCEED THE PRICE YOU PAID DIRECTLY TO MICROCHIP SPECIFICALLY TO
  31. * HAVE THIS CODE DEVELOPED.
  32. *
  33. * You agree that you are solely responsible for testing the code and
  34. * determining its suitability. Microchip has no obligation to modify, test,
  35. * certify, or support the code.*/
  36. /**************************************************************************************/
  37. #ifndef __SSL_MARCHCMINUS_RAM_TEST_H__
  38. #define __SSL_MARCHCMINUS_RAM_TEST_H__
  39. #include "SSL_Class_B_Tests.h"
  40. #define MARCHCminus_RAM_TEST_PASS 1u /*ONE if the Test passes.*/
  41. #define MARCHCminus_RAM_TEST_FAIL 0u /*ZERO if the Test Fails.*/
  42. #define MARCHC_MINUS_RAM_START_ADDRESS 0x000
  43. #define MARCHC_MINUS_RAM_STOP_ADDRESS 0xCFF
  44. #define MAX_MEM_Cm ( MARCHC_RAM_STOP_ADDRESS - MARCHC_RAM_START_ADDRESS +1 )
  45. uint8_t SSL_RAMtest_MarchCMinus( void );
  46. #endif