; Generated by PSoC Designer 
;
;
;  hspwmdpDynamic.asm
;
;  Data: 11 June, 2004
;  Copyright (c) Cypress Semiconductor 2010. All Rights Reserved.
;
;  This file is generated by the Device Editor on Application Generation.
;  It contains functions that can be used to test the state of the 
;  currently active configuration.
;  
;  DO NOT EDIT THIS FILE MANUALLY, AS IT IS OVERWRITTEN!!!
;  Edits to this file will not be preserved.
;
include "m8c.inc"
include "memory.inc"
include "PSoCDynamic.inc"
export IshspwmdpLoaded
export _IshspwmdpLoaded
export IsPRSPWMLoaded
export _IsPRSPWMLoaded
IshspwmdpLoaded:
_IshspwmdpLoaded:
	RAM_SETPAGE_CUR >ACTIVE_CONFIG_STATUS
	mov		a, 0
	tst		[ACTIVE_CONFIG_STATUS+hspwmdp_ADDR_OFF], hspwmdp_BIT
	jz		hspwmdpIsNotLoaded
	mov		a, 1
hspwmdpIsNotLoaded:
	ret

IsPRSPWMLoaded:
_IsPRSPWMLoaded:
	RAM_SETPAGE_CUR >ACTIVE_CONFIG_STATUS
	mov		a, 0
	tst		[ACTIVE_CONFIG_STATUS+PRSPWM_ADDR_OFF], PRSPWM_BIT
	jz		PRSPWMIsNotLoaded
	mov		a, 1
PRSPWMIsNotLoaded:
	ret

