nrfx 3.3
Data Structures | Enumerations | Functions
VDET1V0 HAL

Hardware access layer for managing the 1.0V Voltage Detector (VDET1V0). More...

Data Structures

struct  nrf_vdet1v0_tcfg_t
 Test mode configuration. More...
 

Enumerations

enum  nrf_vdet1v0_event_t {
  NRF_VDET1V0_EVENT_READY = offsetof(NRF_VDET1V0_Type, EVENTS_READY) ,
  NRF_VDET1V0_EVENT_SETTLED = offsetof(NRF_VDET1V0_Type, EVENTS_SETTLED) ,
  NRF_VDET1V0_EVENT_PWR_GOOD = offsetof(NRF_VDET1V0_Type, EVENTS_PWRGOOD) ,
  NRF_VDET1V0_EVENT_PWR_NOT_GOOD = offsetof(NRF_VDET1V0_Type, EVENTS_PWRNOTGOOD)
}
 VDET1V0 events. More...
 
enum  nrf_vdet1v0_task_t {
  NRF_VDET1V0_TASK_PWR_UP = offsetof(NRF_VDET1V0_Type, TASKS_PWRUP) ,
  NRF_VDET1V0_TASK_PWR_DOWN = offsetof(NRF_VDET1V0_Type, TASKS_PWRDOWN)
}
 VDET1V0 tasks. More...
 
enum  nrf_vdet1v0_int_mask_t {
  NRF_VDET1V0_INT_READY_MASK = VDET1V0_INTEN_READY_Msk ,
  NRF_VDET1V0_INT_SETTLED_MASK = VDET1V0_INTEN_SETTLED_Msk ,
  NRF_VDET1V0_INT_PWR_GOOD_MASK = VDET1V0_INTEN_PWRGOOD_Msk ,
  NRF_VDET1V0_INT_PWR_NOT_GOOD_MASK = VDET1V0_INTEN_PWRNOTGOOD_Msk
}
 VDET1V0 interrupts. More...
 
enum  nrf_vdet1v0_statusana_mask_t {
  NRF_VDET1V0_STATUSANA_READY_MASK = VDET1V0_STATUSANA_READY_Msk ,
  NRF_VDET1V0_STATUSANA_SETTLED_MASK = VDET1V0_STATUSANA_SETTLED_Msk ,
  NRF_VDET1V0_STATUSANA_PGD_MASK = VDET1V0_STATUSANA_PGD_Msk
}
 STATUSANA register bit masks. More...
 
enum  nrf_vdet1v0_pwr_good_hyst_t {
  NRF_VDET1V0_PWR_GOOD_HYST_LOW = VDET1V0_CONFIG_CFG_PWRGOODHYST_HystLow ,
  NRF_VDET1V0_PWR_GOOD_HYST_HIGH = VDET1V0_CONFIG_CFG_PWRGOODHYST_HystHigh
}
 Power good detector hysteresis settings. More...
 
enum  nrf_vdet1v0_analog_signal_t {
  NRF_VDET1V0_ANALOG_SIGNAL_PWRUP ,
  NRF_VDET1V0_ANALOG_SIGNAL_RETAIN ,
  NRF_VDET1V0_ANALOG_SIGNAL_READY ,
  NRF_VDET1V0_ANALOG_SIGNAL_SETTLED ,
  NRF_VDET1V0_ANALOG_SIGNAL_PGD
}
 Analog signal to be overridden. More...
 
enum  nrf_vdet1v0_dft_atb0_selmux_t {
  NRF_VDET1V0_DFT_ATB0_SELMUX_CONNECT_VSS = VDET1V0_DFT_ATB0CONFIG_SELMUX_ConnectVSS ,
  NRF_VDET1V0_DFT_ATB0_SELMUX_CONNECT_SENSE_VOLTAGE = VDET1V0_DFT_ATB0CONFIG_SELMUX_ConnectSenseVoltage
}
 Select multiplexer for ATB0. More...
 
enum  nrf_vdet1v0_dft_dtb0_selmux_t {
  NRF_VDET1V0_DFT_DTB0_SELMUX_READY_PGD_SW = VDET1V0_DFT_DTB0CONFIG_SELMUX_ReadyPgdSw ,
  NRF_VDET1V0_DFT_DTB0_SELMUX_SETTLED = VDET1V0_DFT_DTB0CONFIG_SELMUX_Settled ,
  NRF_VDET1V0_DFT_DTB0_SELMUX_PGD_COMP = VDET1V0_DFT_DTB0CONFIG_SELMUX_PgdCmp ,
  NRF_VDET1V0_DFT_DTB0_SELMUX_PGD_UNBUF = VDET1V0_DFT_DTB0CONFIG_SELMUX_PgdUnbuf
}
 Select multiplexer for DTB0. More...
 
enum  nrf_vdet1v0_dft_dtb1_selmux_t {
  NRF_VDET1V0_DFT_DTB1_SELMUX_SPARE0 = VDET1V0_DFT_DTB1CONFIG_SELMUX_Spare0 ,
  NRF_VDET1V0_DFT_DTB1_SELMUX_READY = VDET1V0_DFT_DTB1CONFIG_SELMUX_Ready
}
 Select multiplexer for DTB1. More...
 

Functions

NRF_STATIC_INLINE void nrf_vdet1v0_task_trigger (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_task_t task)
 Function for activating the specified VDET1V0 task.
 
NRF_STATIC_INLINE uint32_t nrf_vdet1v0_task_address_get (NRF_VDET1V0_Type const *p_reg, nrf_vdet1v0_task_t task)
 Function for getting the address of the specified VDET1V0 task register.
 
NRF_STATIC_INLINE void nrf_vdet1v0_event_clear (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_event_t event)
 Function for clearing the specified VDET1V0 event.
 
NRF_STATIC_INLINE bool nrf_vdet1v0_event_check (NRF_VDET1V0_Type const *p_reg, nrf_vdet1v0_event_t event)
 Function for retrieving the state of the VDET1V0 event.
 
NRF_STATIC_INLINE uint32_t nrf_vdet1v0_event_address_get (NRF_VDET1V0_Type const *p_reg, nrf_vdet1v0_event_t event)
 Function for getting the address of the specified VDET1V0 event register.
 
NRF_STATIC_INLINE void nrf_vdet1v0_int_enable (NRF_VDET1V0_Type *p_reg, uint32_t mask)
 Function for enabling specified interrupts.
 
NRF_STATIC_INLINE void nrf_vdet1v0_int_disable (NRF_VDET1V0_Type *p_reg, uint32_t mask)
 Function for disabling specified interrupts.
 
NRF_STATIC_INLINE uint32_t nrf_vdet1v0_int_enable_check (NRF_VDET1V0_Type const *p_reg, uint32_t mask)
 Function for checking if the specified interrupts are enabled.
 
NRF_STATIC_INLINE uint32_t nrf_vdet1v0_int_pending_get (NRF_VDET1V0_Type const *p_reg)
 Function for retrieving the state of pending interrupts.
 
NRF_STATIC_INLINE uint32_t nrf_vdet1v0_statusana_get (NRF_VDET1V0_Type const *p_reg)
 Function for getting VDET1V0 status of the analog module output signals.
 
NRF_STATIC_INLINE void nrf_vdet1v0_config_cfg_set (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_pwr_good_hyst_t pwr_good_hyst)
 Function for setting configuration of voltage detector.
 
NRF_STATIC_INLINE nrf_vdet1v0_pwr_good_hyst_t nrf_vdet1v0_config_cfg_get (NRF_VDET1V0_Type const *p_reg)
 Function for getting configuration of voltage detector.
 
NRF_STATIC_INLINE void nrf_vdet1v0_config_pwr_good_thr_set (NRF_VDET1V0_Type *p_reg, uint8_t thr)
 Function for setting threshold voltage level of power good detector.
 
NRF_STATIC_INLINE uint8_t nrf_vdet1v0_config_pwr_good_thr_get (NRF_VDET1V0_Type const *p_reg)
 Function for getting threshold voltage level of voltage detector.
 
NRF_STATIC_INLINE void nrf_vdet1v0_trim_pwr_good_set (NRF_VDET1V0_Type *p_reg, uint8_t val)
 Function for setting voltage trimming value of power good detector.
 
NRF_STATIC_INLINE uint8_t nrf_vdet1v0_trim_pwr_good_get (NRF_VDET1V0_Type const *p_reg)
 Function for getting voltage trimming value of power good detector.
 
NRF_STATIC_INLINE void nrf_vdet1v0_mirror_lock_set (NRF_VDET1V0_Type *p_reg, bool lock)
 Function for locking mirrored registers.
 
NRF_STATIC_INLINE void nrf_vdet1v0_override_set (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_analog_signal_t signal, bool enable, uint8_t val)
 Function for overriding signal to the analog module.
 
NRF_STATIC_INLINE void nrf_vdet1v0_dft_atb0_config_set (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_dft_atb0_selmux_t selmux, bool enable)
 Function for configuring Analog Test Bus 0 (ATB0).
 
NRF_STATIC_INLINE void nrf_vdet1v0_dft_atb1_config_set (NRF_VDET1V0_Type *p_reg, bool enable)
 Function for configuring Analog Test Bus 1 (ATB1).
 
NRF_STATIC_INLINE void nrf_vdet1v0_dft_dtb0_config_set (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_dft_dtb0_selmux_t selmux, bool enable)
 Function for configuring Digital Test Bus 0 (DTB0).
 
NRF_STATIC_INLINE void nrf_vdet1v0_dft_dtb1_config_set (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_dft_dtb1_selmux_t selmux, bool enable)
 Function for configuring Digital Test Bus 1 (DTB1).
 
NRF_STATIC_INLINE void nrf_vdet1v0_dft_dtb3_config_set (NRF_VDET1V0_Type *p_reg, bool enable)
 Function for configuring Digital Test Bus 3 (DTB3).
 
NRF_STATIC_INLINE void nrf_vdet1v0_dft_tcfg_config_set (NRF_VDET1V0_Type *p_reg, nrf_vdet1v0_tcfg_t tcfg)
 Function for configuring test mode.
 

Detailed Description

Hardware access layer for managing the 1.0V Voltage Detector (VDET1V0).

Enumeration Type Documentation

◆ nrf_vdet1v0_analog_signal_t

Analog signal to be overridden.

Enumerator
NRF_VDET1V0_ANALOG_SIGNAL_PWRUP 

Override PWRUP signal.

NRF_VDET1V0_ANALOG_SIGNAL_RETAIN 

Override RETAIN signal.

NRF_VDET1V0_ANALOG_SIGNAL_READY 

Override READY signal.

NRF_VDET1V0_ANALOG_SIGNAL_SETTLED 

Override SETTLED signal.

NRF_VDET1V0_ANALOG_SIGNAL_PGD 

Override PGD signal.

◆ nrf_vdet1v0_dft_atb0_selmux_t

Select multiplexer for ATB0.

Enumerator
NRF_VDET1V0_DFT_ATB0_SELMUX_CONNECT_VSS 

Connect VSS to ATB0.

NRF_VDET1V0_DFT_ATB0_SELMUX_CONNECT_SENSE_VOLTAGE 

Use ARB0 as sense voltage instead of VDD_SENSE_1V0.

◆ nrf_vdet1v0_dft_dtb0_selmux_t

Select multiplexer for DTB0.

Enumerator
NRF_VDET1V0_DFT_DTB0_SELMUX_READY_PGD_SW 

READY_PGD_SW_0V8.

NRF_VDET1V0_DFT_DTB0_SELMUX_SETTLED 

SETTLED_VDET1V0_AO_0V8.

NRF_VDET1V0_DFT_DTB0_SELMUX_PGD_COMP 

PGD comparator output.

NRF_VDET1V0_DFT_DTB0_SELMUX_PGD_UNBUF 

Unbuffered PGD, after deglitch filter.

◆ nrf_vdet1v0_dft_dtb1_selmux_t

Select multiplexer for DTB1.

Enumerator
NRF_VDET1V0_DFT_DTB1_SELMUX_SPARE0 

No mulitplexer is selected, logic 0.

NRF_VDET1V0_DFT_DTB1_SELMUX_READY 

READY_VDET1V0_AO_0V8.

◆ nrf_vdet1v0_event_t

VDET1V0 events.

Enumerator
NRF_VDET1V0_EVENT_READY 

Power up done.

NRF_VDET1V0_EVENT_SETTLED 

Settled flag for MODE handshake.

NRF_VDET1V0_EVENT_PWR_GOOD 

Power good detector detected voltage above threshold level.

NRF_VDET1V0_EVENT_PWR_NOT_GOOD 

Power good detector detected voltage below threshold level.

◆ nrf_vdet1v0_int_mask_t

VDET1V0 interrupts.

Enumerator
NRF_VDET1V0_INT_READY_MASK 

Interrupt on READY event.

NRF_VDET1V0_INT_SETTLED_MASK 

Interrupt on SETTLED event.

NRF_VDET1V0_INT_PWR_GOOD_MASK 

Interrupt on PWR_GOOD event.

NRF_VDET1V0_INT_PWR_NOT_GOOD_MASK 

Interrupt on PWR_NOT_GOOD event.

◆ nrf_vdet1v0_pwr_good_hyst_t

Power good detector hysteresis settings.

Enumerator
NRF_VDET1V0_PWR_GOOD_HYST_LOW 

Hysteresis is 1.16% of the configured PGD level.

NRF_VDET1V0_PWR_GOOD_HYST_HIGH 

Hysteresis is 2.33% of the configured PGD level.

◆ nrf_vdet1v0_statusana_mask_t

STATUSANA register bit masks.

Enumerator
NRF_VDET1V0_STATUSANA_READY_MASK 

Current value of READY signal.

NRF_VDET1V0_STATUSANA_SETTLED_MASK 

Current value of SETTLED signal.

NRF_VDET1V0_STATUSANA_PGD_MASK 

Current value of PGD signal.

◆ nrf_vdet1v0_task_t

VDET1V0 tasks.

Enumerator
NRF_VDET1V0_TASK_PWR_UP 

Power up voltage detector.

NRF_VDET1V0_TASK_PWR_DOWN 

Power down voltage detector.

Function Documentation

◆ nrf_vdet1v0_config_cfg_get()

NRF_STATIC_INLINE nrf_vdet1v0_pwr_good_hyst_t nrf_vdet1v0_config_cfg_get ( NRF_VDET1V0_Type const *  p_reg)

Function for getting configuration of voltage detector.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Power good detector hysteresis setting.

◆ nrf_vdet1v0_config_cfg_set()

NRF_STATIC_INLINE void nrf_vdet1v0_config_cfg_set ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_pwr_good_hyst_t  pwr_good_hyst 
)

Function for setting configuration of voltage detector.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]pwr_good_hystPower good detector hysteresis setting.

◆ nrf_vdet1v0_config_pwr_good_thr_get()

NRF_STATIC_INLINE uint8_t nrf_vdet1v0_config_pwr_good_thr_get ( NRF_VDET1V0_Type const *  p_reg)

Function for getting threshold voltage level of voltage detector.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Threshold voltage value. The value is 0.77V + 0.01V steps.

◆ nrf_vdet1v0_config_pwr_good_thr_set()

NRF_STATIC_INLINE void nrf_vdet1v0_config_pwr_good_thr_set ( NRF_VDET1V0_Type *  p_reg,
uint8_t  thr 
)

Function for setting threshold voltage level of power good detector.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]thrThreshold voltage value. The value is 0.77V + 0.01V steps.

◆ nrf_vdet1v0_dft_atb0_config_set()

NRF_STATIC_INLINE void nrf_vdet1v0_dft_atb0_config_set ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_dft_atb0_selmux_t  selmux,
bool  enable 
)

Function for configuring Analog Test Bus 0 (ATB0).

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]selmuxMultiplexer configuration.
[in]enableTrue to enable test bus.

◆ nrf_vdet1v0_dft_atb1_config_set()

NRF_STATIC_INLINE void nrf_vdet1v0_dft_atb1_config_set ( NRF_VDET1V0_Type *  p_reg,
bool  enable 
)

Function for configuring Analog Test Bus 1 (ATB1).

Note
If ATB1 is enabled, VREF_PGD is connected to the analog test bus. The ATB signals are multiplexed with analog GPIOs, so the corresponding GPIO.PINCONF must be enabled.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]enableTrue to enable test bus.

◆ nrf_vdet1v0_dft_dtb0_config_set()

NRF_STATIC_INLINE void nrf_vdet1v0_dft_dtb0_config_set ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_dft_dtb0_selmux_t  selmux,
bool  enable 
)

Function for configuring Digital Test Bus 0 (DTB0).

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]selmuxMultiplexer configuration.
[in]enableTrue to enable test bus.

◆ nrf_vdet1v0_dft_dtb1_config_set()

NRF_STATIC_INLINE void nrf_vdet1v0_dft_dtb1_config_set ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_dft_dtb1_selmux_t  selmux,
bool  enable 
)

Function for configuring Digital Test Bus 1 (DTB1).

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]selmuxMultiplexer configuration.
[in]enableTrue to enable test bus.

◆ nrf_vdet1v0_dft_dtb3_config_set()

NRF_STATIC_INLINE void nrf_vdet1v0_dft_dtb3_config_set ( NRF_VDET1V0_Type *  p_reg,
bool  enable 
)

Function for configuring Digital Test Bus 3 (DTB3).

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]enableTrue to enable PWRUP delay test circuit.

◆ nrf_vdet1v0_dft_tcfg_config_set()

NRF_STATIC_INLINE void nrf_vdet1v0_dft_tcfg_config_set ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_tcfg_t  tcfg 
)

Function for configuring test mode.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]tcfgTest mode configuration.

◆ nrf_vdet1v0_event_address_get()

NRF_STATIC_INLINE uint32_t nrf_vdet1v0_event_address_get ( NRF_VDET1V0_Type const *  p_reg,
nrf_vdet1v0_event_t  event 
)

Function for getting the address of the specified VDET1V0 event register.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventThe specified event.
Returns
Address of the specified event register.

◆ nrf_vdet1v0_event_check()

NRF_STATIC_INLINE bool nrf_vdet1v0_event_check ( NRF_VDET1V0_Type const *  p_reg,
nrf_vdet1v0_event_t  event 
)

Function for retrieving the state of the VDET1V0 event.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to be checked.
Return values
trueThe event has been generated.
falseThe event has not been generated.

◆ nrf_vdet1v0_event_clear()

NRF_STATIC_INLINE void nrf_vdet1v0_event_clear ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_event_t  event 
)

Function for clearing the specified VDET1V0 event.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to be cleared.

◆ nrf_vdet1v0_int_disable()

NRF_STATIC_INLINE void nrf_vdet1v0_int_disable ( NRF_VDET1V0_Type *  p_reg,
uint32_t  mask 
)

Function for disabling specified interrupts.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be disabled. Use nrf_vdet1v0_int_mask_t values for bit masking.

◆ nrf_vdet1v0_int_enable()

NRF_STATIC_INLINE void nrf_vdet1v0_int_enable ( NRF_VDET1V0_Type *  p_reg,
uint32_t  mask 
)

Function for enabling specified interrupts.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be enabled. Use nrf_vdet1v0_int_mask_t values for bit masking.

◆ nrf_vdet1v0_int_enable_check()

NRF_STATIC_INLINE uint32_t nrf_vdet1v0_int_enable_check ( NRF_VDET1V0_Type const *  p_reg,
uint32_t  mask 
)

Function for checking if the specified interrupts are enabled.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be checked. Use nrf_vdet1v0_int_mask_t values for bit masking.
Returns
Mask of enabled interrupts.

◆ nrf_vdet1v0_int_pending_get()

NRF_STATIC_INLINE uint32_t nrf_vdet1v0_int_pending_get ( NRF_VDET1V0_Type const *  p_reg)

Function for retrieving the state of pending interrupts.

Note
States of pending interrupt are saved as a bitmask. One set at particular position means that interrupt for event is pending.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Bitmask with information about pending interrupts. Use nrf_vdet1v0_int_mask_t values for bit masking.

◆ nrf_vdet1v0_mirror_lock_set()

NRF_STATIC_INLINE void nrf_vdet1v0_mirror_lock_set ( NRF_VDET1V0_Type *  p_reg,
bool  lock 
)

Function for locking mirrored registers.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]lockTrue if lock is enabled. False if lock is disabled, and mirrored registers can be updated at any time.

◆ nrf_vdet1v0_override_set()

NRF_STATIC_INLINE void nrf_vdet1v0_override_set ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_analog_signal_t  signal,
bool  enable,
uint8_t  val 
)

Function for overriding signal to the analog module.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]signalSignal to be overridden.
[in]enableTrue to enable override, false to disable.
[in]valOverriden value.

◆ nrf_vdet1v0_statusana_get()

NRF_STATIC_INLINE uint32_t nrf_vdet1v0_statusana_get ( NRF_VDET1V0_Type const *  p_reg)

Function for getting VDET1V0 status of the analog module output signals.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
STATUSANA register value. Use nrf_vdet1v0_statusana_mask_t values for bit masking.

◆ nrf_vdet1v0_task_address_get()

NRF_STATIC_INLINE uint32_t nrf_vdet1v0_task_address_get ( NRF_VDET1V0_Type const *  p_reg,
nrf_vdet1v0_task_t  task 
)

Function for getting the address of the specified VDET1V0 task register.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskThe specified task.
Returns
Address of the specified task register.

◆ nrf_vdet1v0_task_trigger()

NRF_STATIC_INLINE void nrf_vdet1v0_task_trigger ( NRF_VDET1V0_Type *  p_reg,
nrf_vdet1v0_task_t  task 
)

Function for activating the specified VDET1V0 task.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask to be activated.

◆ nrf_vdet1v0_trim_pwr_good_get()

NRF_STATIC_INLINE uint8_t nrf_vdet1v0_trim_pwr_good_get ( NRF_VDET1V0_Type const *  p_reg)

Function for getting voltage trimming value of power good detector.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Threshold voltage trimming value. The value is 2's complement value of 0mV +/- 5mV steps.

◆ nrf_vdet1v0_trim_pwr_good_set()

NRF_STATIC_INLINE void nrf_vdet1v0_trim_pwr_good_set ( NRF_VDET1V0_Type *  p_reg,
uint8_t  val 
)

Function for setting voltage trimming value of power good detector.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]valThreshold voltage trimming value. The value is 2's complement value of 0mV +/- 5mV steps.

Documentation feedback | Developer Zone | Subscribe | Updated