Skip to content

PTG: Added READY and STOP registers for ME12, ME18, and ME55. #337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 20, 2023

Conversation

sihyung-maxim
Copy link
Contributor

@sihyung-maxim sihyung-maxim commented Jan 18, 2023

The ME12, ME18, and ME55 will have two more interrupt registers: READY_INTFL (0x18) and READY_INTEN (0x1C). I've renamed the original two interrupt registers: INTFL -> STOP_INTFL (0x08) and INTEN -> STOP_INTEN (0x0C). The ME18 and ME55 are unreleased, and I got the go-ahead to update the ME12 PTG register names.

@sihyung-maxim
Copy link
Contributor Author

/clang-format-run

@sihyung-maxim
Copy link
Contributor Author

ptg_reva_regs.h will have the new register map as well (READY_ and STOP_ interrupt registers). The register map of the old PT is a subset of the register map of the new PT. The parts with the old IP will not have the new stop/ready functions defined on the chip-specific PT libraries. Also note: the mxc_ptg_regs_t *MXC_PTG instance on the chip-specific level is type-casted with mxc_ptg_reva_regs_t.

@sihyung-maxim sihyung-maxim merged commit c5dbd7b into main Jan 20, 2023
@sihyung-maxim sihyung-maxim deleted the svd/ptg branch January 20, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants