Hi,
I have three questions related to SYS/BIOS Ind. SDK (V1.1.0.4) implementation:
1. Procedure "HW_EscReadByteIsr()" is redirected to "__HW_EscReadByteIsr()" with a #define. The procedure "__HW_EscReadByteIsr()" looks like this:
Uint8 __HW_EscReadByteIsr( Uint16 Address) { Uint8 ByteValue; Int16 sm_index; Uint16 ActAddress = bsp_get_process_data_address(Address, 1, &sm_index); if (ActAddress < ESC_ADDR_MEMORY) { pd_read_addr_err++; return 0; } ByteValue = bsp_read_byte_isr (ActAddress); bsp_process_data_access_complete(Address, 1, sm_index); return ByteValue; }
The same happens to "HW_EscReadWordIsr()". But in "__HW_EscReadWordIsr()" there is a call "bsp_read_word()" instead of "bsp_read_word_isr()" as used in "HW_EscReadByteIsr()".
Is this a bug?
2. Why is "HW_EscReadDWord()" not redirected to "bsp_read_dword()" with a #define, as for example are "HW_EscReadByte()" and "HW_EscReadWord()"? What is the right implementation?
3. Why is there no "__HW_EscReadDWordIsr()" implementation as there is for reading a byte or word?
I'm a bit confused as for me it seems there is no red line in this Read-Procedures.
Thanks and best regards,
Patrick