MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.91.13.01
saph_a

Functions

void SAPH_A_unlock (uint16_t baseAddress)
 Unlocks certain SAPH_A registers. More...
 
void SAPH_A_lock (uint16_t baseAddress)
 Locks certain SAPH_A registers. More...
 
void SAPH_A_clearInterrupt (uint16_t baseAddress, uint8_t mask)
 Clears SAPH_A interrupts. More...
 
void SAPH_A_enableInterrupt (uint16_t baseAddress, uint8_t mask)
 Enables SAPH_A interrupts. More...
 
void SAPH_A_disableInterrupt (uint16_t baseAddress, uint8_t mask)
 Disables selected SAPH_A interrupt sources. More...
 
uint8_t SAPH_A_getInterruptStatus (uint16_t baseAddress, uint8_t mask)
 Gets the current SAPH_A interrupt status. More...
 
void SAPH_A_configurePHY (uint16_t baseAddress, SAPH_A_configPHYParam *config)
 Configures physical interface output and trim values. More...
 
void SAPH_A_configurePHYMultiplexer (uint16_t baseAddress, uint16_t dummyLoad, uint16_t source, uint16_t input)
 Configures physical interface multiplexer. More...
 
void SAPH_A_configurePHYBias (uint16_t baseAddress, SAPH_A_configPHYBiasParam *config)
 Configures physical interface bias. More...
 
void SAPH_A_configurePPGCount (uint16_t baseAddress, SAPH_A_configPPGCountParam *config)
 Configures pulse generator count. More...
 
void SAPH_A_setPPGLowPeriod (uint16_t baseAddress, uint16_t period)
 Sets pulse generator low period. More...
 
void SAPH_A_setPPGHighPeriod (uint16_t baseAddress, uint16_t period)
 Sets pulse generator high period. More...
 
void SAPH_A_configurePPG (uint16_t baseAddress, SAPH_A_configPPGParam *config)
 Configures pulse generator. More...
 
void SAPH_A_triggerPPG (uint16_t baseAddress)
 Triggers pulse generator. More...
 
void SAPH_A_stopPPG (uint16_t baseAddress)
 Stops pulse generator. More...
 
void SAPH_A_configureASQ (uint16_t baseAddress, SAPH_A_configASQParam *config)
 Configures acquisition sequencer. More...
 
void SAPH_A_triggerASQ (uint16_t baseAddress)
 Triggers acquisition sequencer. More...
 
void SAPH_A_stopASQ (uint16_t baseAddress)
 Stops acquisition sequencer. More...
 
uint8_t SAPH_A_getASQPingCounter (uint16_t baseAddress)
 Gets ping counter of acquisition sequencer. More...
 
void SAPH_A_configureASQPing (uint16_t baseAddress, SAPH_A_configASQPingParam *config)
 Configures acquisition sequencer ping parameters. More...
 
void SAPH_A_configureASQTimeBase (uint16_t baseAddress, uint16_t prescalerStartValue)
 Configures acquisition sequencer time base parameters. More...
 
void SAPH_A_startASQTimer (uint16_t baseAddress)
 Starts acquisition timer. More...
 
void SAPH_A_stopASQTimer (uint16_t baseAddress)
 Stops acquisition timer. More...
 
void SAPH_A_clearASQTimer (uint16_t baseAddress)
 Clears acquisition timer. More...
 
void SAPH_A_configureMode (uint16_t baseAddress, SAPH_A_configModeParam *config)
 Configures certain mode configuration parameters. More...
 
void SAPH_A_enableLowPowerBiasMode (uint16_t baseAddress)
 Enables low power bias operation mode. More...
 
void SAPH_A_disableLowPowerBiasMode (uint16_t baseAddress)
 Disables low power bias operation mode. More...
 
void SAPH_A_enableChargePumpAlways (uint16_t baseAddress)
 Keeps charge pump of the input multiplexer always on. More...
 
void SAPH_A_enableChargePumpOnAcquisitionOnly (uint16_t baseAddress)
 Charge pump of input multiplexer is only turned on by data acquisition. More...
 
void SAPH_A_setBiasGeneratorImpedance (uint16_t baseAddress, uint16_t biasImpedance)
 Sets impedance of the buffers for RxBias and TxBias. More...
 
void SAPH_A_configureExtendedPPG (uint16_t baseAddress, SAPH_A_configXPGParam *config)
 Configures extended pulse generator. More...
 
void SAPH_A_setXPGLowPeriod (uint16_t baseAddress, uint16_t period)
 Sets extended pulse generator low period. More...
 
void SAPH_A_setXPGHighPeriod (uint16_t baseAddress, uint16_t period)
 Sets extended pulse generator high period. More...
 
uint16_t SAPH_A_getPPGPhaseStatus (uint16_t baseAddress)
 Returns the phase status of PPG. More...
 

Detailed Description

Function Documentation

§ SAPH_A_clearASQTimer()

void SAPH_A_clearASQTimer ( uint16_t  baseAddress)

Clears acquisition timer.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_clearInterrupt()

void SAPH_A_clearInterrupt ( uint16_t  baseAddress,
uint8_t  mask 
)

Clears SAPH_A interrupts.

The SAPH_A interrupt source is cleared, so that it no longer asserts. If the interrupt is not enabled, the corresponding bit in the RIS register bit will be cleared. If the interrupt is enabled, the corresponding bit both MIS and RIS registers will be both cleared.

Parameters
baseAddressis the base address of the SAPH_A module.
maskis the logical OR of any of the following:
  • SAPH_A_DATA_ERROR_INTERRUPT - SAPH_A data error interrupt
  • SAPH_A_TIMEMARK_F_TIMEOUT_INTERRUPT - SAPH_A TMF time out interrupt
  • SAPH_A_ACQUISITION_SEQUENCER_DONE_INTERRUPT - SAPH_A acquistion sequencer done interrupt
  • SAPH_A_PING_TRANSMIT_DONE_INTERRUPT - SAPH_A ping transmit done interrupt
Returns
None

§ SAPH_A_configureASQ()

void SAPH_A_configureASQ ( uint16_t  baseAddress,
SAPH_A_configASQParam config 
)

Configures acquisition sequencer.

This configures SAPH_A acquisition sequencer:

  • trigger source
  • abort-on-error control
  • channel select
  • side of channel to receive
  • standby indication
  • OFF at end-of-sequence
  • early receive bias
  • channel toggle
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for acquisition sequencer configuration.
Returns
None

References SAPH_A_configASQParam::abortOnError, SAPH_A_configASQParam::channelSelect, SAPH_A_configASQParam::earlyReceiveBias, SAPH_A_configASQParam::enableChannelToggle, SAPH_A_configASQParam::endOfSequence, SAPH_A_configASQParam::sideOfChannel, SAPH_A_configASQParam::standByIndication, and SAPH_A_configASQParam::triggerSource.

§ SAPH_A_configureASQPing()

void SAPH_A_configureASQPing ( uint16_t  baseAddress,
SAPH_A_configASQPingParam config 
)

Configures acquisition sequencer ping parameters.

This configures SAPH_A acquisition sequencer ping:

  • output polarity
  • pause level
  • pause impedance
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for acquisition sequencer ping configuration.
Returns
None

References SAPH_A_configASQPingParam::pauseHighImpedance, SAPH_A_configASQPingParam::pauseLevel, and SAPH_A_configASQPingParam::polarity.

§ SAPH_A_configureASQTimeBase()

void SAPH_A_configureASQTimeBase ( uint16_t  baseAddress,
uint16_t  prescalerStartValue 
)

Configures acquisition sequencer time base parameters.

This configures SAPH_A acquisition sequencer time base parameters:

  • power state
  • prescaler start value
Parameters
baseAddressis the base address of the SAPH_A module.
prescalerStartValueis the ASQ prescaler start value.
Returns
None

§ SAPH_A_configureExtendedPPG()

void SAPH_A_configureExtendedPPG ( uint16_t  baseAddress,
SAPH_A_configXPGParam config 
)

Configures extended pulse generator.

This configures SAPH_A extended pulse generator:

  • event type
  • extended mode select
  • extra pulse count
    NOTE: This API modifies all elements of the extended pulse generator control register. Any values not specified in the config parameter will end up clearing the other settings.
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for extended pulse generator configuration.
Returns
None

References SAPH_A_configXPGParam::eventType, SAPH_A_configXPGParam::extendedMode, and SAPH_A_configXPGParam::extraPulses.

§ SAPH_A_configureMode()

void SAPH_A_configureMode ( uint16_t  baseAddress,
SAPH_A_configModeParam config 
)

Configures certain mode configuration parameters.

This configures SAPH:

  • bias generator impedance
  • charge pump enable timing
  • low power bias mode NOTE: This will modify all elements of SAPH_A mode configuration register. If there are elements not specified in the config parameter, the register values will be cleared. There are other SAPH_A functions to modify these features individually.
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for mode configuration.
Returns
None

References SAPH_A_configModeParam::biasImpedance, SAPH_A_configModeParam::chargePump, and SAPH_A_configModeParam::lowPowerBiasMode.

§ SAPH_A_configurePHY()

void SAPH_A_configurePHY ( uint16_t  baseAddress,
SAPH_A_configPHYParam config 
)

Configures physical interface output and trim values.

This configures SAPH_A physical interface:

  • channel output
  • channel related trim values
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for physical interface configuration.
Returns
None

References SAPH_A_configPHYParam::channel, SAPH_A_configPHYParam::enableFullPull, SAPH_A_configPHYParam::enableOutput, SAPH_A_configPHYParam::enableTermination, SAPH_A_configPHYParam::outputFunction, SAPH_A_configPHYParam::outputValue, SAPH_A_configPHYParam::pullDownTrim, SAPH_A_configPHYParam::pullUpTrim, and SAPH_A_configPHYParam::terminationTrim.

§ SAPH_A_configurePHYBias()

void SAPH_A_configurePHYBias ( uint16_t  baseAddress,
SAPH_A_configPHYBiasParam config 
)

Configures physical interface bias.

This configures SAPH_A physical interface bias parameters:

  • excitation bias switch
  • PGA bias
  • excitation bias
  • charge pump
  • line input leakage
  • compensation
  • ASQ bias
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for physical interface bias configuration.
Returns
None

References SAPH_A_configPHYBiasParam::biasExcitation, SAPH_A_configPHYBiasParam::biasPGA, SAPH_A_configPHYBiasParam::biasSwitch, SAPH_A_configPHYBiasParam::biasSwitchASQ, SAPH_A_configPHYBiasParam::biasSwitchPGA, SAPH_A_configPHYBiasParam::enableChargePump, and SAPH_A_configPHYBiasParam::enableLeakageCompensation.

§ SAPH_A_configurePHYMultiplexer()

void SAPH_A_configurePHYMultiplexer ( uint16_t  baseAddress,
uint16_t  enableDummyLoad,
uint16_t  sourceControl,
uint16_t  inputChannel 
)

Configures physical interface multiplexer.

This configures SAPH_A physical interface mutliplexer for dummy load, channel multiplexer source control and input channel selection.

Parameters
baseAddressis the base address of the SAPH_A module.
enableDummyLoadindicates whether to enable/disable dummy load on non- selected multiplexer inputs. Valid values are:
  • SAPH_A_PHY_DUMMYLOAD_ENABLE
  • SAPH_A_PHY_DUMMYLOAD_DISABLE [Default]
sourceControlselects which controls the multiplexer. Valid values are:
  • SAPH_A_PHY_SOURCE_CONTROLLED_BY_REGISTER [Default]
  • SAPH_A_PHY_SOURCE_CONTROLLED_BY_ASQ
inputChannelselects input channel. Valid values are:
  • SAPH_A_PHY_INPUT_CHANNEL_0 [Default]
  • SAPH_A_PHY_INPUT_CHANNEL_1
Returns
None

§ SAPH_A_configurePPG()

void SAPH_A_configurePPG ( uint16_t  baseAddress,
SAPH_A_configPPGParam config 
)

Configures pulse generator.

This configures SAPH_A pulse generator:

  • trigger source
  • prescaler enable
  • channel select
  • control select
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for pulse generator configuration.
Returns
None

References SAPH_A_configPPGParam::channelSelect, SAPH_A_configPPGParam::enablePrescaler, SAPH_A_configPPGParam::portSelect, and SAPH_A_configPPGParam::triggerSource.

§ SAPH_A_configurePPGCount()

void SAPH_A_configurePPGCount ( uint16_t  baseAddress,
SAPH_A_configPPGCountParam config 
)

Configures pulse generator count.

This configures SAPH_A pulse generator count:

  • high impedance
  • pause level
  • pause polarity
  • stop pulse
  • excitation pulse
Parameters
baseAddressis the base address of the SAPH_A module.
configis the pointer to the struct for pulse generator count configuration.
Returns
None

References SAPH_A_configPPGCountParam::excitationPulseCount, SAPH_A_configPPGCountParam::highImpedance, SAPH_A_configPPGCountParam::pauseLevel, SAPH_A_configPPGCountParam::pausePolarity, and SAPH_A_configPPGCountParam::stopPauseCount.

§ SAPH_A_disableInterrupt()

void SAPH_A_disableInterrupt ( uint16_t  baseAddress,
uint8_t  mask 
)

Disables selected SAPH_A interrupt sources.

Disables the indicated SAPH_A interrupt sources. Only the sources that are enabled can be reflected to the processor interrupt; disabled sources have no effect on the processor.

Parameters
baseAddressis the base address of the SAPH_A module.
maskis the logical OR of any of the following:
  • SAPH_A_DATA_ERROR_INTERRUPT - SAPH_A data error interrupt
  • SAPH_A_TIMEMARK_F_TIMEOUT_INTERRUPT - SAPH_A TMF time out interrupt
  • SAPH_A_ACQUISITION_SEQUENCER_DONE_INTERRUPT - SAPH_A acquistion sequencer done interrupt
  • SAPH_A_PING_TRANSMIT_DONE_INTERRUPT - SAPH_A ping transmit done interrupt
Returns
None

§ SAPH_A_disableLowPowerBiasMode()

void SAPH_A_disableLowPowerBiasMode ( uint16_t  baseAddress)

Disables low power bias operation mode.

Enters manual bias mode and regular ASQ bias mode. In this configuration, the user controls by the ASQBSW has full control over TxBias and RxBias switches. NOTE: Avoid changing operation mode unless PSQ is in OFF state. Otherwise, it can cause corrupt measurement results and irregular triggers of sub modules by ASQ.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_enableChargePumpAlways()

void SAPH_A_enableChargePumpAlways ( uint16_t  baseAddress)

Keeps charge pump of the input multiplexer always on.

The charge pump of the input multiplexer is on regardless of SDHS and ASQ requests. This setting will override other USS charge pump settings elsewhere.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_enableChargePumpOnAcquisitionOnly()

void SAPH_A_enableChargePumpOnAcquisitionOnly ( uint16_t  baseAddress)

Charge pump of input multiplexer is only turned on by data acquisition.

The charge pump of the input multiplexer is turned on by SDHS and ASQ related requests only. This will also require the charge pump to be enabled explicitly through other methods [controlled by CPDA bit or SAPH_A_configurePHYBias()] in the SAPH_A module.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_enableInterrupt()

void SAPH_A_enableInterrupt ( uint16_t  baseAddress,
uint8_t  mask 
)

Enables SAPH_A interrupts.

Enables the indicated SAPH_A interrupt sources. Only the sources that are enabled can be reflected to the processor interrupt; disabled sources have no effect on the processor. Does not clear interrupt flags.

Parameters
baseAddressis the base address of the SAPH_A module.
maskis the logical OR of any of the following:
  • SAPH_A_DATA_ERROR_INTERRUPT - SAPH_A data error interrupt
  • SAPH_A_TIMEMARK_F_TIMEOUT_INTERRUPT - SAPH_A TMF time out interrupt
  • SAPH_A_ACQUISITION_SEQUENCER_DONE_INTERRUPT - SAPH_A acquistion sequencer done interrupt
  • SAPH_A_PING_TRANSMIT_DONE_INTERRUPT - SAPH_A ping transmit done interrupt
Returns
None

§ SAPH_A_enableLowPowerBiasMode()

void SAPH_A_enableLowPowerBiasMode ( uint16_t  baseAddress)

Enables low power bias operation mode.

In this mode, the SAPH_A acquisition sequencer (ASQ) uses the CHxEBSW and PGABSW as auxiliary values to achieve faster channel setting on reactive input loads. The ASQ has full controls over the bias switch multiplexer. NOTE: Avoid changing operation mode unless PSQ is in OFF state. Otherwise, it can cause corrupt measurement results and irregular triggers of sub modules by ASQ.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_getASQPingCounter()

uint8_t SAPH_A_getASQPingCounter ( uint16_t  baseAddress)

Gets ping counter of acquisition sequencer.

This function returns ping counter which represents the number of acquistion turns regardless if up/down direction is changed. The acquistion stops if this count decrements from zero.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_getInterruptStatus()

uint8_t SAPH_A_getInterruptStatus ( uint16_t  baseAddress,
uint8_t  mask 
)

Gets the current SAPH_A interrupt status.

This returns the interrupt status for the SAPH_A module based on which flag is passed.

Parameters
baseAddressis the base address of the SAPH_A module.
maskis the logical OR of any of the following:
  • SAPH_A_DATA_ERROR_INTERRUPT - SAPH_A data error interrupt
  • SAPH_A_TIMEMARK_F_TIMEOUT_INTERRUPT - SAPH_A TMF time out interrupt
  • SAPH_A_ACQUISITION_SEQUENCER_DONE_INTERRUPT - SAPH_A acquistion sequencer done interrupt
  • SAPH_A_PING_TRANSMIT_DONE_INTERRUPT - SAPH_A ping transmit done interrupt
Returns
Logical OR of any of the following:
  • SAPH_A_DATA_ERROR_INTERRUPT - SAPH_A data error interrupt
  • SAPH_A_TIMEMARK_F_TIMEOUT_INTERRUPT - SAPH_A TMF time out interrupt
  • SAPH_A_ACQUISITION_SEQUENCER_DONE_INTERRUPT - SAPH_A acquistion sequencer done interrupt
  • SAPH_A_PING_TRANSMIT_DONE_INTERRUPT - SAPH_A ping transmit done interrupt

§ SAPH_A_getPPGPhaseStatus()

uint16_t SAPH_A_getPPGPhaseStatus ( uint16_t  baseAddress)

Returns the phase status of PPG.

Returns the phase status of PPG. Reads from SAPH_AXPGCTL.XSTAT.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
SAPH_A_PPG_PAUSE_PHASE or SAPH_A_PPG_STOP_PHASE or SAPH_A_PPG_REGULAR_EXCITATION_PHASE or SAPH_A_PPG_EXTRA_EXCITATION_PHASE

§ SAPH_A_lock()

void SAPH_A_lock ( uint16_t  baseAddress)

Locks certain SAPH_A registers.

Locks SAPH_A registers with offset address of 0xF or higher. IIDX, MIS, RIS, IMSC, ICR, ISR, DESCLO, and DESCHI registers are not affected and the registers are not locked. Utilize this function after SAPH_A_unlock() after necessary registers have been modified. SAPH_A registers, with the exception of the list in paragraph above, are locked by default.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_setBiasGeneratorImpedance()

void SAPH_A_setBiasGeneratorImpedance ( uint16_t  baseAddress,
uint16_t  biasImpedance 
)

Sets impedance of the buffers for RxBias and TxBias.

While for resistive loads the lowest impedance shows the fastest settling; this is not the case for reactive loads.

Parameters
baseAddressis the base address of the SAPH_A module.
biasImpedancesets bias impedance for RxBias and TxBias. Valid values are:
  • SAPH_A_MCNF_500_OHMS_RXBIAS_450_OHMS_TXBIAS
  • SAPH_A_MCNF_900_OHMS_RXBIAS_850_OHMS_TXBIAS
  • SAPH_A_MCNF_1500_OHMS_RXBIAS_1450_OHMS_TXBIAS [Default]
  • SAPH_A_MCNF_2950_OHMS_RXBIAS_2900_OHMS_TXBIAS
Returns
None

§ SAPH_A_setPPGHighPeriod()

void SAPH_A_setPPGHighPeriod ( uint16_t  baseAddress,
uint16_t  period 
)

Sets pulse generator high period.

The high phase of period of generator pulses defines the length of high phase of the pulses in units of high speed clocks. The minimum count is two regardless of the value set in this register.

Parameters
baseAddressis the base address of the SAPH_A module.
periodis the high period value to set.
Returns
None

§ SAPH_A_setPPGLowPeriod()

void SAPH_A_setPPGLowPeriod ( uint16_t  baseAddress,
uint16_t  period 
)

Sets pulse generator low period.

The low phase of period of generator pulses defines the length of low phase of the pulses in units of high speed clocks. The minimum count is two regardless of the value set in this register.

Parameters
baseAddressis the base address of the SAPH_A module.
periodis the low period value to set.
Returns
None

§ SAPH_A_setXPGHighPeriod()

void SAPH_A_setXPGHighPeriod ( uint16_t  baseAddress,
uint16_t  period 
)

Sets extended pulse generator high period.

The high phase of period of generator pulses defines the length of high phase of the extra pulses in units of high speed clocks. The minimum count is two regardless of the value set in this register.

Parameters
baseAddressis the base address of the SAPH_A module.
periodis the high period value to set.
Returns
None

§ SAPH_A_setXPGLowPeriod()

void SAPH_A_setXPGLowPeriod ( uint16_t  baseAddress,
uint16_t  period 
)

Sets extended pulse generator low period.

The low phase of period of generator pulses defines the length of low phase of the extra pulses in units of high speed clocks. The minimum count is two regardless of the value set in this register. Reset type: PUC

Parameters
baseAddressis the base address of the SAPH_A module.
periodis the low period value to set.
Returns
None

§ SAPH_A_startASQTimer()

void SAPH_A_startASQTimer ( uint16_t  baseAddress)

Starts acquisition timer.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_stopASQ()

void SAPH_A_stopASQ ( uint16_t  baseAddress)

Stops acquisition sequencer.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_stopASQTimer()

void SAPH_A_stopASQTimer ( uint16_t  baseAddress)

Stops acquisition timer.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_stopPPG()

void SAPH_A_stopPPG ( uint16_t  baseAddress)

Stops pulse generator.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_triggerASQ()

void SAPH_A_triggerASQ ( uint16_t  baseAddress)

Triggers acquisition sequencer.

This function triggers the acquisition sequencer if SAPH_A_ASQ_TRIGGER_SOURCE_SOFTWARE is selected as the trigger sourcce.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_triggerPPG()

void SAPH_A_triggerPPG ( uint16_t  baseAddress)

Triggers pulse generator.

This function triggers the pulse generator if SAPH_A_PPG_TRIGGER_SOURCE_SOFTWARE is selected as the trigger sourcce.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

§ SAPH_A_unlock()

void SAPH_A_unlock ( uint16_t  baseAddress)

Unlocks certain SAPH_A registers.

Unlock SAPH_A registers with offset address of 0xF or higher. IIDX, MIS, RIS, IMSC, ICR, ISR, DESCLO, and DESCHI registers are not affected and the registers are not locked. Utilize this function if those registers need to be modified.
NOTE: Most of the SAPH_A APIs will not work unless SAPH_A is unlocked.

Parameters
baseAddressis the base address of the SAPH_A module.
Returns
None

Copyright 2020, Texas Instruments Incorporated