Search code examples
msp430

Disable openmsp430 interrupts by default


Are interrupts enabled by default in OpenMSP430, where is this defined in the code, apart from the watchdog enable/disable flag in _defines.v.


Solution

  • In any msp430 I remeber gie is not enabled by default. The same seems to happen in OpenMSP430, see omsp_register_file.v

        always @(posedge mclk_r2 or posedge puc_rst)
          if (puc_rst)         r2 <= 16'h0000;