test

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

NRF_LPCOMP_Type Struct Reference

NRF_LPCOMP_Type Struct Reference
[Device_Peripheral_Registers]

Low power comparator. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__O uint32_t TASKS_SAMPLE
__IO uint32_t EVENTS_READY
__IO uint32_t EVENTS_DOWN
__IO uint32_t EVENTS_UP
__IO uint32_t EVENTS_CROSS
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__I uint32_t RESULT
__IO uint32_t ENABLE
__IO uint32_t PSEL
__IO uint32_t REFSEL
__IO uint32_t EXTREFSEL
__IO uint32_t ANADETECT
__IO uint32_t POWER

Detailed Description

Low power comparator.

(LPCOMP)

Definition at line 1017 of file nrf51.h.


Field Documentation

__IO uint32_t ANADETECT

Analog detect configuration.

Definition at line 1039 of file nrf51.h.

__IO uint32_t ENABLE

Enable the LPCOMP.

Definition at line 1034 of file nrf51.h.

__IO uint32_t EVENTS_CROSS

Input voltage crossed the threshold in any direction.

Definition at line 1025 of file nrf51.h.

__IO uint32_t EVENTS_DOWN

Input voltage crossed the threshold going down.

Definition at line 1023 of file nrf51.h.

__IO uint32_t EVENTS_READY

LPCOMP is ready and output is valid.

Definition at line 1022 of file nrf51.h.

__IO uint32_t EVENTS_UP

Input voltage crossed the threshold going up.

Definition at line 1024 of file nrf51.h.

__IO uint32_t EXTREFSEL

External reference select.

Definition at line 1037 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 1030 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 1029 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 1041 of file nrf51.h.

__IO uint32_t PSEL

Input pin select.

Definition at line 1035 of file nrf51.h.

__IO uint32_t REFSEL

Reference select.

Definition at line 1036 of file nrf51.h.

__I uint32_t RESULT

Result of last compare.

Definition at line 1032 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for the LPCOMP.

Definition at line 1027 of file nrf51.h.

__O uint32_t TASKS_SAMPLE

Sample comparator value.

Definition at line 1020 of file nrf51.h.

__O uint32_t TASKS_START

< LPCOMP Structure Start the comparator.

Definition at line 1018 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop the comparator.

Definition at line 1019 of file nrf51.h.