7 #ifndef __MSP430WARE_SFR_H__ 8 #define __MSP430WARE_SFR_H__ 10 #include "inc/hw_memmap.h" 12 #ifdef __MSP430_HAS_SFR__ 34 #define SFR_JTAG_OUTBOX_INTERRUPT JMBOUTIE 35 #define SFR_JTAG_INBOX_INTERRUPT JMBINIE 36 #define SFR_NMI_PIN_INTERRUPT NMIIE 37 #define SFR_VACANT_MEMORY_ACCESS_INTERRUPT VMAIE 38 #define SFR_OSCILLATOR_FAULT_INTERRUPT OFIE 39 #define SFR_WATCHDOG_INTERVAL_TIMER_INTERRUPT WDTIE 40 #define SFR_FLASH_CONTROLLER_ACCESS_VIOLATION_INTERRUPT ACCVIE 48 #define SFR_RESISTORDISABLE (!(SYSRSTRE + SYSRSTUP)) 49 #define SFR_RESISTORENABLE_PULLUP (SYSRSTRE + SYSRSTUP) 50 #define SFR_RESISTORENABLE_PULLDOWN (SYSRSTRE) 58 #define SFR_NMI_RISINGEDGE (!(SYSNMIIES)) 59 #define SFR_NMI_FALLINGEDGE (SYSNMIIES) 67 #define SFR_RESETPINFUNC_RESET (!(SYSNMI)) 68 #define SFR_RESETPINFUNC_NMI (SYSNMI) 273 #endif // __MSP430WARE_SFR_H__ void SFR_disableInterrupt(uint8_t interruptMask)
Disables selected SFR interrupt sources.
Definition: sfr.c:26
void SFR_setNMIEdge(uint16_t edgeDirection)
Sets the edge direction that will assert an NMI from a signal on the ~RST/NMI pin if NMI function is ...
Definition: sfr.c:47
void SFR_setResetNMIPinFunction(uint8_t resetPinFunction)
Sets the function of the ~RST/NMI pin.
Definition: sfr.c:53
uint8_t SFR_getInterruptStatus(uint8_t interruptFlagMask)
Returns the status of the selected SFR interrupt flags.
Definition: sfr.c:31
void SFR_enableInterrupt(uint8_t interruptMask)
Enables selected SFR interrupt sources.
Definition: sfr.c:21
void SFR_setResetPinPullResistor(uint16_t pullResistorSetup)
Sets the pull-up/down resistor on the ~RST/NMI pin.
Definition: sfr.c:41
void SFR_clearInterrupt(uint8_t interruptFlagMask)
Clears the selected SFR interrupt flags.
Definition: sfr.c:36