test

Fork of nrf51-sdk by Lancaster University

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 978 of file nrf51.h.


Field Documentation

__IO uint32_t ANADETECT

Analog detect configuration.

Definition at line 1000 of file nrf51.h.

__IO uint32_t ENABLE

Enable the LPCOMP.

Definition at line 995 of file nrf51.h.

__IO uint32_t EVENTS_CROSS

Input voltage crossed the threshold in any direction.

Definition at line 986 of file nrf51.h.

__IO uint32_t EVENTS_DOWN

Input voltage crossed the threshold going down.

Definition at line 984 of file nrf51.h.

__IO uint32_t EVENTS_READY

LPCOMP is ready and output is valid.

Definition at line 983 of file nrf51.h.

__IO uint32_t EVENTS_UP

Input voltage crossed the threshold going up.

Definition at line 985 of file nrf51.h.

__IO uint32_t EXTREFSEL

External reference select.

Definition at line 998 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 991 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 990 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 1002 of file nrf51.h.

__IO uint32_t PSEL

Input pin select.

Definition at line 996 of file nrf51.h.

__IO uint32_t REFSEL

Reference select.

Definition at line 997 of file nrf51.h.

__I uint32_t RESULT

Result of last compare.

Definition at line 993 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for the LPCOMP.

Definition at line 988 of file nrf51.h.

__O uint32_t TASKS_SAMPLE

Sample comparator value.

Definition at line 981 of file nrf51.h.

__O uint32_t TASKS_START

< LPCOMP Structure Start the comparator.

Definition at line 979 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop the comparator.

Definition at line 980 of file nrf51.h.