This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Hwi_create function can not be supported on msp430 platform.



When i use the Hwi_create function,there is an "Function not implemented" err. That error is thrown because on MSP430 we only support static creation of Hwi objects.

What functions in Hwi module can not be support on msp430 platform? Which document describes the problem?

  • Jeff,

    Due to there being no central interrupt controller in the MSP430 devices, a number of Hwi APIs are not available:

    Hwi_enableInterrupt(), Hwi_disableInterrupt(), Hwi_restoreInterrupt(), Hwi_clearInterrupt(), Hwi_post() Hwi_getFunc(), Hwi_setFunc(), Hwi_getIrp().

    The static-config-only restriction also eliminates these APIs:

    Hwi_create(), Hwi_construct(), Hwi_delete(), Hwi_destruct().

    I'll file a bug against the user guide to make sure that these limitations get documented in a future release.

    Alan