Kurt Eckhardt
0d0dda7823
Fix DMAMUX_SOURCE_LPUARTX settings
The TX and RX values were reversed.
That is for example on Serial1 (LPUART6)
Before we had:
```
```
now we have
```
```
So for example trying to get WS2812Serial library to work was failing, to output anything.
5 anni fa
luni64
17d54c5c70
Rename CCM_CCGR1_GPT defines
Current naming is confusing since it differs between GTP1 and GTP2. The GTP2 version is compatible to the naming in the data sheet. So I suggest to adjust the naming for GPT1
5 anni fa
luni64
0ff1ba3b3b
Explicitely delcare TMR channel registers in IMXRT_TMR_t to make encapsulation of the registers in a user class easier
I suggest to explicitely delcare a (say) IMXRT_TMR_CH_t struct which collects the registers for a TMR channel instead of implicitely defining this struct in the declaration of IMXRT_TMR_t.
This would allow for an easier definition of user classes modelling a TMR channel.
Not a big deal, could also do that mayself the class code but it would be more convenient if this would be done in imxrt.h
5 anni fa
Antonio Brewer
590194e4ca
CBT register for CANFD
5 anni fa
PaulStoffregen
3bd199f895
Fix USB_ENDPTCTRL_RXS define
5 anni fa
PaulStoffregen
0ce5990edb
Add RTC functions
5 anni fa
PaulStoffregen
7562ec0493
Add IOMUXC registers for IMXRT1062
5 anni fa
PaulStoffregen
253c747256
Fix USB_USBCMD_ATDTW define
5 anni fa
duff2013
abbb04a26d
undocumented SNVS regs
5 anni fa
Frank
5fda96ebc9
add SNVS definitions for RTC
5 anni fa
PaulStoffregen
25e6876450
Fix IRQ numbers for IMXRT1062
5 anni fa
PaulStoffregen
14bf9b817c
Add IMXRT1062 registers
5 anni fa
Frank
667e8e2c26
Fix SPDF Base-Address
5 anni fa
PaulStoffregen
1030be3aee
Fix attachInterruptVector, use compiler memory barrier
5 anni fa
Kurt Eckhardt
eab640e5af
T4 Imxrt define Flexio structure.
Moved from my flexio_t4 library.
Libary was updated to see if already defined before it now defines it.
5 anni fa
PaulStoffregen
9bd82c255b
Fix IMXRT_USB2 address
5 anni fa
PaulStoffregen
c562f0ae91
add imxrt usb2 pll defs
5 anni fa
PaulStoffregen
d66f83e3fe
Add keylayouts & USB timer defs
5 anni fa
Frank
18dda2deb5
more defs
5 anni fa
Frank
52161d7dad
add some more audio defs
6 anni fa
Frank
c15ff6369c
add some definitions for audio
6 anni fa
Kurt Eckhardt
f6d42f26dc
t4 FLEXIO register masks are 32 bits
The FlexIO registers are 32 bits, the masks were all setup for 16 bits so the high word of registers were not updated
6 anni fa
PaulStoffregen
4b0abab261
Add watchdog defs, fixes #329
6 anni fa
Kurt Eckhardt
951d834f90
T4 - SPI - Create structure
I created a structure IMXRT_LPSPI_t
like what was done for UARTS.
I hopefully got all of the unused fields in properly to get the registers on the correct addresses.
Note: I did not update the other #define LPSPIn_ values but left them, likewise, I create a new define for each of the addresses.
That way we can double check I have everything properly aligned
6 anni fa
Mike S
292bb6553d
corrections & updates
Tempsense2 address correction and added analogreadaveraging code.
6 anni fa
PaulStoffregen
390a1e2f4c
Add data cache functions
6 anni fa
PaulStoffregen
b9066ead1f
Fix typo (thanks tonton81)
6 anni fa
Frank
585a9009b8
Update imxrt.h
6 anni fa
Frank
bd6602e10a
IRQ_SOFTWARE = 70
6 anni fa
PaulStoffregen
dac015d92e
Add attachInterrupt
6 anni fa
Frank
cf68a26fb6
Renumbered IRQ_RESERVED1-7, IRQ_SOFTWARE = 62
6 anni fa
WMXZ-EU
4402a96138
corrected SAI1/3_CLK_PODF
6 anni fa
PaulStoffregen
986ff3797d
Fix tempmon address, fixes #299
6 anni fa
Frank
49fa787c2c
SPDIF register bit defs
6 anni fa
Frank
e648aecf04
Tempmon registers - bit definitions
6 anni fa
Frank
d2d7fb7423
(n)..
6 anni fa
Frank
223f543fde
Whitespace: Tabsize 8 (?)
6 anni fa
Frank
809e38dbdf
Reset Control Bit Definitions
- comment SRC_GPR1..SRC_GPR10 (used by the ROM code)
6 anni fa
PaulStoffregen
3ac5eff53d
Update imxrt.h (for SPI transaction)
6 anni fa
PaulStoffregen
262f3eaa99
Add DMAChannel for IMXRT
6 anni fa
PaulStoffregen
35ddbd7a4f
Improve I2C defines
6 anni fa
Mike S
68db3fbeb8
Update imxrt.h
6 anni fa
Mike S
38d7836125
Update imxrt.h
Deleted a duplicate define: #define CCM_CBCMR_PERIPH_CLK2_SEL_MASK ((uint32_t)(0x03 << 12))
and added tempmon registers
6 anni fa
PaulStoffregen
c93cf0f039
Implement set_arm_clock
6 anni fa
PaulStoffregen
37c8161601
Transmit only polling HardwareSerial on imxrt
6 anni fa
PaulStoffregen
addd88d076
basic usb serial on imxrt
6 anni fa
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
6 anni fa
PaulStoffregen
e1f31f6bb7
Update imxrt defs
6 anni fa
PaulStoffregen
78915ca4ab
Update imxrt register defs
6 anni fa
PaulStoffregen
5d1ca45176
Use shift syntax for bitmasks in imxrt.h
6 anni fa