Initial commit

This commit is contained in:
OneOfEleven
2023-09-09 08:03:56 +01:00
parent 92305117f1
commit 54441e27d9
3388 changed files with 582553 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/* ================ TIMER0 ================ */
typedef struct { /*!< TIMER0 Structure */
__IO uint32_t CR; /*!< Control Register */
__IO uint16_t SR; /*!< Status Register */
__I uint16_t RESERVED0[5];
__IO uint16_t INT; /*!< Interrupt Register */
__I uint16_t RESERVED1[7];
__IO uint32_t COUNT; /*!< The Counter Register reflects the actual Value of the Timer/Counter */
__IO uint32_t MATCH; /*!< The Match Register stores the compare Value for the MATCH condition */
union {
__O uint32_t PRESCALE_WR; /*!< The Prescale Register stores the Value for the prescaler. The
cont event gets divided by this value */
__I uint32_t PRESCALE_RD; /*!< The Prescale Register stores the Value for the prescaler. The
cont event gets divided by this value */
};
__I uint32_t RESERVED2[9];
__IO uint32_t RELOAD[4]; /*!< The Reload Register stores the Value the COUNT Register gets
reloaded on a when a condition was met. */
} TIMER0_Type;