|
brazos-trapezoidal
|
Contains the private configuration/parameters for the SRMicro GDM for STM8. More...

Go to the source code of this file.
Macros | |
| #define | SRMICRO__LOWPOWER() |
| #define | SRMICRO_EXCEPTION_CONTINUOUS_LOCO() SRClockMonitor__MonitorExtClk(655) |
| #define | SRMICRO_WATCHDOG ENABLED |
| |
| #define | IWDG_PRESCALER 0 |
| #define | IWDG_CLOCK 7 |
| #define | HSE_STABILISH_TIME 10000 |
| #define | CSS_GENERATES_INTERRUPTION ENABLED |
| #define | SRMICRO_RAM_INIT 0x110 |
| #define | SRMICRO_RAM_END 0x00003fff |
| #define | SRMICRO_RAM_END_RUNTIME 0x00003bcf |
| #define | SRMICRO_NUM_BYTE_FOR_FLASH_CONTINUOUS_TEST 4 |
| #define | SRMICRO_NUM_BYTE_FOR_RAM_CONTINUOUS_TEST 4 |
| #define | CRC__PROCESS(accumulator, data) SRFastCRCUpd(accumulator, data) |
| #define | CRC_DATA_TYPE unsigned short int |
| #define | SRMICRO_CRC_INITIAL ((unsigned short int)(0xFFFF)) |
| #define | SRMICRO_CLASSA_WATCHDOG_CONTROL ENABLED |
| #define | SRMICRO_CLASSA_ISR_CONTROL ENABLED |
| #define | SRMICRO_EXCEPTION_CONTINUOUS_FLASH(calc, expected) SRException__Queue(EXCEPTION_FLASH_ERROR,calc,expected) |
| #define | SRMICRO_EXCEPTION_CONTINUOUS_RAM(address) SRException__Queue(EXCEPTION_RAM_RUNTIME_CORRUPTION,((unsigned short int)address)/65536,(unsigned short int)address) |
| #define | SRMICRO_EXCEPTION_STACK_OVERFLOW() SRException__Queue(EXCEPTION_STACK_OVERFLOW_ERROR,0,0) |
| #define | SRMICRO_EXCEPTION_STACK_UNDERFLOW() SRException__Queue(EXCEPTION_STACK_UNDERFLOW_ERROR,0,0) |
| |
| #define | SRMICRO_FLOW_LOG_STACK_UNDERFLOW_OVERFLOW() SRFlow__MainLogEvent(STACK_OVERFLOW_TEST_EVENT) |
| |
| #define | SRMICRO_FLOW_LOG_CPU_TEST() SRFlow__MainLogEvent(SRMICRO_MONITOR_CPU_TEST) |
| |
| #define | SRMICRO_FLOW_LOG_RAM_TEST() |
| |
| #define | SRMICRO_FLOW_LOG_FLASH_TEST() SRFlow__MainLogEvent(SRMICRO_MONITOR_FLASH_TEST) |
| |
| #define | SRMICRO_EXCEPTION_RUNTIME_CPU_REGISTER() SRException__Queue(EXCEPTION_CPU_REGISTER_ERROR,0,0) |
| |
| #define | SRMICRO_JUMPAAPLICATION() _iar_program_start(); |
| #define | SRMICRO_RAM_BOOT_TEST ENABLED |
| |
| #define | SRMICRO_FLASH_BOOT_TEST ENABLED |
| |
| #define | SRMICRO__WATCHDOG_RESET() Micro_Watchdog_Boottest_Flag = 0xAA; while(1); |
| #define | SRMICRO_FLOW_INITIALIZE() SRFlow__InitLogEvent(SRMICRO_INITIALIZE) |
| |
| #define | SRMICRO_CPU_PERIODIC_TEST ENABLED |
| |
| #define | SRMICRO_RAM_PERIODIC_TEST ENABLED |
| |
| #define | SRMICRO_FLASH_PERIODIC_TEST ENABLED |
| |
| #define | SRMICRO_STACK__UNDERFLOW_OVERFLOW_TEST ENABLED |
| |
| #define | INBUILT_FLASH_CRC_CALCULATOR ENABLED |
| |
| #define | SRMICRO_FLASH_INIT 0xFFFC0004 |
| #define | SRMICRO_FLASH_END 0xFFFFBF8F |
| #define | SRMICRO_CRC_FLASH 0xFFFC0000 |
| #define | SRMICRO_INITIAL_DELAY 500 |
| |
| #define | LOCO_INTERRUPT_PRIORITY 3 |
Functions | |
| void | _iar_program_start (void) |
Contains the private configuration/parameters for the SRMicro GDM for STM8.
Definition in file SRMicro_prv.h.
| #define CRC__PROCESS | ( | accumulator, | |
| data | |||
| ) | SRFastCRCUpd(accumulator, data) |
Definition at line 246 of file SRMicro_prv.h.
| #define CRC_DATA_TYPE unsigned short int |
Definition at line 247 of file SRMicro_prv.h.
| #define CSS_GENERATES_INTERRUPTION ENABLED |
Definition at line 165 of file SRMicro_prv.h.
| #define HSE_STABILISH_TIME 10000 |
Definition at line 137 of file SRMicro_prv.h.
| #define INBUILT_FLASH_CRC_CALCULATOR ENABLED |
Boot time Flash Test which goes over all the flash calculating CRC and compares it against a CRC value stored in FLASH memory.
Inbuilt CRC tool(IELF)-
External CRC tool-
Defines the engine used for Crc calculation as below For Crc32 #include "Crc32.h" #define CRC__PROCESS(accumulator, data) Crc32__ProcessByte(accumulator, data) #define CRC_DATA_TYPE unsigned long int #define SRMICRO_CRC_INITIAL CRC_INITIAL
For Crc (Crc 16 bits) #include "Crc.h" #define CRC__PROCESS(accumulator, data) FastCRCUpd(accumulator, data) #define CRC_DATA_TYPE unsigned short int #define SRMICRO_CRC_INITIAL ((unsigned short int)(0x0000))
| - | ENABLED(1) - Which uses the inbuilt CRC engine IELF tool by the IAR compiler DISABLED(0) – User has to configure its own CRC engine |
Definition at line 552 of file SRMicro_prv.h.
| #define IWDG_CLOCK 7 |
Definition at line 122 of file SRMicro_prv.h.
| #define IWDG_PRESCALER 0 |
Definition at line 67 of file SRMicro_prv.h.
| #define LOCO_INTERRUPT_PRIORITY 3 |
Definition at line 595 of file SRMicro_prv.h.
| #define SRMICRO__LOWPOWER | ( | ) |
Definition at line 20 of file SRMicro_prv.h.
| #define SRMICRO__WATCHDOG_RESET | ( | ) | Micro_Watchdog_Boottest_Flag = 0xAA; while(1); |
Definition at line 440 of file SRMicro_prv.h.
| #define SRMICRO_CLASSA_ISR_CONTROL ENABLED |
Definition at line 273 of file SRMicro_prv.h.
| #define SRMICRO_CLASSA_WATCHDOG_CONTROL ENABLED |
Definition at line 260 of file SRMicro_prv.h.
| #define SRMICRO_CPU_PERIODIC_TEST ENABLED |
| - | ENABLED(1) - Which Enables the Ram periodic test DISABLED(0) – Which Disables the Ram periodic test |
Definition at line 467 of file SRMicro_prv.h.
| #define SRMICRO_CRC_FLASH 0xFFFC0000 |
Definition at line 580 of file SRMicro_prv.h.
| #define SRMICRO_CRC_INITIAL ((unsigned short int)(0xFFFF)) |
Definition at line 248 of file SRMicro_prv.h.
| #define SRMICRO_EXCEPTION_CONTINUOUS_FLASH | ( | calc, | |
| expected | |||
| ) | SRException__Queue(EXCEPTION_FLASH_ERROR,calc,expected) |
Definition at line 288 of file SRMicro_prv.h.
| #define SRMICRO_EXCEPTION_CONTINUOUS_LOCO | ( | ) | SRClockMonitor__MonitorExtClk(655) |
Definition at line 22 of file SRMicro_prv.h.
| #define SRMICRO_EXCEPTION_CONTINUOUS_RAM | ( | address | ) | SRException__Queue(EXCEPTION_RAM_RUNTIME_CORRUPTION,((unsigned short int)address)/65536,(unsigned short int)address) |
Definition at line 298 of file SRMicro_prv.h.
| #define SRMICRO_EXCEPTION_RUNTIME_CPU_REGISTER | ( | ) | SRException__Queue(EXCEPTION_CPU_REGISTER_ERROR,0,0) |
| - | User defined application function prototype for handling the CPU Register Runtime Test Fail. |
Definition at line 385 of file SRMicro_prv.h.
| #define SRMICRO_EXCEPTION_STACK_OVERFLOW | ( | ) | SRException__Queue(EXCEPTION_STACK_OVERFLOW_ERROR,0,0) |
Definition at line 309 of file SRMicro_prv.h.
| #define SRMICRO_EXCEPTION_STACK_UNDERFLOW | ( | ) | SRException__Queue(EXCEPTION_STACK_UNDERFLOW_ERROR,0,0) |
| - | User defined application function prototype for handling the Stack underflow exception. |
Definition at line 322 of file SRMicro_prv.h.
| #define SRMICRO_FLASH_BOOT_TEST ENABLED |
| - | ENABLED(1) - Which Enables the flash boot test DISABLED(0) – Which Disables flash boot test |
Definition at line 429 of file SRMicro_prv.h.
| #define SRMICRO_FLASH_END 0xFFFFBF8F |
Definition at line 579 of file SRMicro_prv.h.
| #define SRMICRO_FLASH_INIT 0xFFFC0004 |
Definition at line 578 of file SRMicro_prv.h.
| #define SRMICRO_FLASH_PERIODIC_TEST ENABLED |
| - | ENABLED(1) - Which Enables the flash periodic (runtime) test DISABLED(0) – Which Disables flash periodic (runtime) test |
Definition at line 494 of file SRMicro_prv.h.
| #define SRMICRO_FLOW_INITIALIZE | ( | ) | SRFlow__InitLogEvent(SRMICRO_INITIALIZE) |
| - | User defined application function prototype to log the Flow control when the SRMicro__Initialize() API is called. |
Definition at line 453 of file SRMicro_prv.h.
| #define SRMICRO_FLOW_LOG_CPU_TEST | ( | ) | SRFlow__MainLogEvent(SRMICRO_MONITOR_CPU_TEST) |
| - | User defined application function prototype to log the Flow control when the CPU is tested during the run time. |
Definition at line 347 of file SRMicro_prv.h.
| #define SRMICRO_FLOW_LOG_FLASH_TEST | ( | ) | SRFlow__MainLogEvent(SRMICRO_MONITOR_FLASH_TEST) |
| - | User defined application function prototype to log the Flow control when the FLASH is tested during the run time. |
Definition at line 373 of file SRMicro_prv.h.
| #define SRMICRO_FLOW_LOG_RAM_TEST | ( | ) |
| - | User defined application function prototype to log the Flow control when the RAM is tested during the run time. |
Definition at line 360 of file SRMicro_prv.h.
| #define SRMICRO_FLOW_LOG_STACK_UNDERFLOW_OVERFLOW | ( | ) | SRFlow__MainLogEvent(STACK_OVERFLOW_TEST_EVENT) |
| - | User defined application function prototype to log the Flow control when the Stack overflow and underflow is tested during the run time. |
Definition at line 335 of file SRMicro_prv.h.
| #define SRMICRO_INITIAL_DELAY 500 |
| - | from 0 to 65535 |
Definition at line 594 of file SRMicro_prv.h.
| #define SRMICRO_JUMPAAPLICATION | ( | ) | _iar_program_start(); |
Definition at line 399 of file SRMicro_prv.h.
| #define SRMICRO_NUM_BYTE_FOR_FLASH_CONTINUOUS_TEST 4 |
Definition at line 201 of file SRMicro_prv.h.
| #define SRMICRO_NUM_BYTE_FOR_RAM_CONTINUOUS_TEST 4 |
Definition at line 214 of file SRMicro_prv.h.
| #define SRMICRO_RAM_BOOT_TEST ENABLED |
| - | ENABLED(1) - Which Enables the MarchC Ram boot test DISABLED(0) – Which Disables the MarchC Ram boot test |
Definition at line 414 of file SRMicro_prv.h.
| #define SRMICRO_RAM_END 0x00003fff |
Definition at line 186 of file SRMicro_prv.h.
| #define SRMICRO_RAM_END_RUNTIME 0x00003bcf |
Definition at line 187 of file SRMicro_prv.h.
| #define SRMICRO_RAM_INIT 0x110 |
Definition at line 185 of file SRMicro_prv.h.
| #define SRMICRO_RAM_PERIODIC_TEST ENABLED |
| - | ENABLED(1) - Which Enables the Ram periodic test DISABLED(0) – Which Disables the Ram periodic test |
Definition at line 481 of file SRMicro_prv.h.
| #define SRMICRO_STACK__UNDERFLOW_OVERFLOW_TEST ENABLED |
| - | ENABLED(1) - Which Enables the Stack Overflow and Underflow Test DISABLED(0) – Which Disables the Stack Overflow and Underflow Test |
Definition at line 510 of file SRMicro_prv.h.
| #define SRMICRO_WATCHDOG ENABLED |
| - | ENABLED(1) - Which Enables the Independent watchdog DISABLED(0) – Which Disables the Independent watchdog |
Definition at line 32 of file SRMicro_prv.h.