Status Codes

Top  Previous  Next

The following values are returned by the board services functions:

 


Macro

Value

Meaning


BS_OK

0

Success


BS_NOT_OPEN

-1

the board services module has not been opened


BS_DIRECTION

-2

Simultaneous read and write


BS_NO_DMA

-3

cannot find DMA interface (unlikely)


BS_NO_EXTINT

-4

cannot find external interrupt interface (unlikely)


BS_NO_MEMORY

-6

cannot claim enough working memory from the heap


BS_NO_DATA

-7

the host has given a zero length memory area


BS_MBOX1_BUSY

 -8

mailbox 1 has already been claimed


BS_BAD_FIRMWARE_CTR

-9

Firmware error: Contact Sundance for help


BS_BAD_FIRMWARE_ADDR

-10

Firmware error: Contact Sundance for help