summaryrefslogtreecommitdiffstats
path: root/include/APE_NVIC.h
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-06-14 22:58:54 -0600
committerEvan Lojewski <github@meklort.com>2019-06-14 22:58:54 -0600
commitd460f67cbfd01dd12ea7ab019a0eca43899f287f (patch)
tree1525a05db056dc0675cf162de3bfb0ecf35b1905 /include/APE_NVIC.h
parent12984bad4ee89630a08ea9d0c5b36d047c7fed3c (diff)
downloadbcm5719-ortega-d460f67cbfd01dd12ea7ab019a0eca43899f287f.tar.gz
bcm5719-ortega-d460f67cbfd01dd12ea7ab019a0eca43899f287f.zip
Regenerate headers with top level print routine and update names for shared type registers.
Diffstat (limited to 'include/APE_NVIC.h')
-rw-r--r--include/APE_NVIC.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/APE_NVIC.h b/include/APE_NVIC.h
index 93a0038..93bc185 100644
--- a/include/APE_NVIC.h
+++ b/include/APE_NVIC.h
@@ -2358,6 +2358,38 @@ typedef struct NVIC_t {
AuxiliaryFaultAddress.r32.setComponentOffset(0xd3c);
SoftwareTriggerInterrupt.r32.setComponentOffset(0xf00);
}
+ void print()
+ {
+ InterruptControlType.print();
+ SystickControlAndStatus.print();
+ SystickReloadValue.print();
+ SystickCurrentValue.print();
+ SystickCalibrationValue.print();
+ InterruptSetEnable.print();
+ InterruptClearEnable.print();
+ InterruptSetPending.print();
+ InterruptClearPending.print();
+ ActiveBit.print();
+ InterruptPriority0.print();
+ InterruptPriority1.print();
+ CpuId.print();
+ InterruptControlState.print();
+ VectorTableOffset.print();
+ ApplicationInterruptAndResetControl.print();
+ SystemControl.print();
+ ConfigurationControl.print();
+ SystemHandlerPriority4.print();
+ SystemHandlerPriority8.print();
+ SystemHandlerPriority12.print();
+ SystemHandlerControlAndState.print();
+ FaultStatus.print();
+ HardFaultStatus.print();
+ DebugFaultStatus.print();
+ MemoryManageFaultAddress.print();
+ BusFaultAddress.print();
+ AuxiliaryFaultAddress.print();
+ SoftwareTriggerInterrupt.print();
+ }
typedef uint32_t (*callback_t)(uint32_t, uint32_t, void*);
callback_t mIndexReadCallback;
void* mIndexReadCallbackArgs;
OpenPOWER on IntegriCloud