test code 123

Dependencies:   mbed

Fork of LinkNode-Test by Qi Yao

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


Field Documentation

__IO uint32_t ANADETECT

Analog detect configuration.

Definition at line 1021 of file nrf51.h.

__IO uint32_t ENABLE

Enable the LPCOMP.

Definition at line 1016 of file nrf51.h.

__IO uint32_t EVENTS_CROSS

Input voltage crossed the threshold in any direction.

Definition at line 1007 of file nrf51.h.

__IO uint32_t EVENTS_DOWN

Input voltage crossed the threshold going down.

Definition at line 1005 of file nrf51.h.

__IO uint32_t EVENTS_READY

LPCOMP is ready and output is valid.

Definition at line 1004 of file nrf51.h.

__IO uint32_t EVENTS_UP

Input voltage crossed the threshold going up.

Definition at line 1006 of file nrf51.h.

__IO uint32_t EXTREFSEL

External reference select.

Definition at line 1019 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 1012 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 1011 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 1023 of file nrf51.h.

__IO uint32_t PSEL

Input pin select.

Definition at line 1017 of file nrf51.h.

__IO uint32_t REFSEL

Reference select.

Definition at line 1018 of file nrf51.h.

__I uint32_t RESULT

Result of last compare.

Definition at line 1014 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for the LPCOMP.

Definition at line 1009 of file nrf51.h.

__O uint32_t TASKS_SAMPLE

Sample comparator value.

Definition at line 1002 of file nrf51.h.

__O uint32_t TASKS_START

< LPCOMP Structure Start the comparator.

Definition at line 1000 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop the comparator.

Definition at line 1001 of file nrf51.h.