/****************************************************************
* FILENAME:     STK_mon.txt             
* DESCRIPTION:  description of STK_mon module 
* AUTHOR:       Mitja Nemec, David M. Alter
* START DATE:   16.1.2009
* VERSION:      1.0
*
* CHANGES : 
* VERSION   DATE        WHO         DETAIL 
* 1.0       16.1.2009   Mitja Nemec Initial version
*
****************************************************************/
    This module is writen for use with TMS320F28 family of DSPs. It monitors
any writes to the end  of stack area and triggers an interrupt ruoutine if
write is detected. 


STK_init
    initializes watchpoint peripherals, and registers a RTOSINT interrupt

USAGE:

edit STK_mon.c (write your own STK_fail interrupt handler)
edit STK_mon.h (select one of two avaliabile watchpoints)

source:

void main(void)
{
    .
    .
    .
    
    /* initialize modul */
    STK_init();
      
    .
    .
    .
}

