Instances
| Instance | Domain | Base address | TrustZone | Split access | Description | ||
|---|---|---|---|---|---|---|---|
| Map | Att | DMA | |||||
|
COMP : S |
GLOBAL |
0x50106000 |
US | S | NA | No |
Comparator COMP |
Register overview
| Register | Offset | TZ | Description |
|---|---|---|---|
| TASKS_START | 0x000 |
Start comparator |
|
| TASKS_STOP | 0x004 |
Stop comparator |
|
| TASKS_SAMPLE | 0x008 |
Sample comparator value. This task requires that COMP has been started by the START Task. |
|
| SUBSCRIBE_START | 0x080 |
Subscribe configuration for task START |
|
| SUBSCRIBE_STOP | 0x084 |
Subscribe configuration for task STOP |
|
| SUBSCRIBE_SAMPLE | 0x088 |
Subscribe configuration for task SAMPLE |
|
| EVENTS_READY | 0x100 |
COMP is ready and output is valid |
|
| EVENTS_DOWN | 0x104 |
Downward crossing |
|
| EVENTS_UP | 0x108 |
Upward crossing |
|
| EVENTS_CROSS | 0x10C |
Downward or upward crossing |
|
| PUBLISH_READY | 0x180 |
Publish configuration for event READY |
|
| PUBLISH_DOWN | 0x184 |
Publish configuration for event DOWN |
|
| PUBLISH_UP | 0x188 |
Publish configuration for event UP |
|
| PUBLISH_CROSS | 0x18C |
Publish configuration for event CROSS |
|
| SHORTS | 0x200 |
Shortcuts between local events and tasks |
|
| INTEN | 0x300 |
Enable or disable interrupt |
|
| INTENSET | 0x304 |
Enable interrupt |
|
| INTENCLR | 0x308 |
Disable interrupt |
|
| INTPEND | 0x30C |
Pending interrupts |
|
| RESULT | 0x400 |
Compare result |
|
| ENABLE | 0x500 |
COMP enable |
|
| PSEL | 0x504 |
Pin select |
|
| REFSEL | 0x508 |
Reference source select for single-ended mode |
|
| EXTREFSEL | 0x50C |
External reference select |
|
| TH | 0x530 |
Threshold configuration for hysteresis unit |
|
| MODE | 0x534 |
Mode configuration |
|
| HYST | 0x538 |
Comparator hysteresis enable |
|
| ISOURCE | 0x53C |
Current source select on analog input |